2002-08-14 23:02:32 +00:00
|
|
|
#! /usr/local/bin/php
|
|
|
|
<?php
|
|
|
|
// test the uc (upper-case) application with the windows client
|
|
|
|
//
|
|
|
|
|
|
|
|
include_once("init.inc");
|
|
|
|
|
|
|
|
check_env_vars();
|
|
|
|
clear_db();
|
2002-08-29 04:08:40 +00:00
|
|
|
if (true) {
|
|
|
|
clear_server_dirs(false);
|
|
|
|
} else {
|
|
|
|
clear_server_dirs(true);
|
|
|
|
create_keys();
|
|
|
|
}
|
|
|
|
clear_client_dirs();
|
2002-08-14 23:02:32 +00:00
|
|
|
init_client_dirs("prefs1.xml");
|
|
|
|
copy_to_download_dir("input");
|
2002-08-25 07:54:33 +00:00
|
|
|
add_project("Test Project");
|
2002-08-14 23:02:32 +00:00
|
|
|
add_platform("windows_intelx86");
|
|
|
|
add_user("prefs.xml");
|
|
|
|
add_app("upper_case", "windows_intelx86", "upper_case.exe");
|
2002-08-20 00:30:13 +00:00
|
|
|
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");
|
2002-08-15 21:21:08 +00:00
|
|
|
//start_feeder();
|
2002-08-14 23:02:32 +00:00
|
|
|
//stop_feeder();
|
|
|
|
//check_results_done();
|
|
|
|
//compare_file("uc_wu_0_0", "uc_correct_output");
|
|
|
|
//compare_file("uc_wu_1_0", "uc_correct_output");
|
|
|
|
?>
|