boinc/test/test_uc_win.php

30 lines
924 B
PHP
Raw Normal View History

#! /usr/local/bin/php
<?php
// test the uc (upper-case) application with the windows client
//
include_once("init.inc");
check_env_vars();
clear_db();
if (true) {
clear_server_dirs(false);
} else {
clear_server_dirs(true);
create_keys();
}
clear_client_dirs();
init_client_dirs("prefs1.xml");
copy_to_download_dir("input");
add_project("Test Project");
add_platform("windows_intelx86");
add_user("prefs.xml");
add_app("upper_case", "windows_intelx86", "upper_case.exe");
create_work("-appname upper_case -rsc_iops 180000000000.0 -rsc_fpops 0.0 -wu_name uc_wu -wu_template uc_wu -result_template uc_result -nresults 100 input input input input input");
//start_feeder();
//stop_feeder();
//check_results_done();
//compare_file("uc_wu_0_0", "uc_correct_output");
//compare_file("uc_wu_1_0", "uc_correct_output");
?>