2002-04-30 22:22:54 +00:00
|
|
|
#! /usr/local/bin/php
|
|
|
|
<?php
|
|
|
|
// test the uc (upper-case) application
|
|
|
|
//
|
|
|
|
// You must have done "make" in all source directories
|
|
|
|
|
|
|
|
include_once("init.inc");
|
|
|
|
|
2002-05-24 04:29:10 +00:00
|
|
|
check_env_vars();
|
2002-04-30 22:22:54 +00:00
|
|
|
clear_db();
|
|
|
|
clear_data_dirs();
|
2002-07-05 05:33:40 +00:00
|
|
|
create_keys();
|
2002-06-21 06:52:47 +00:00
|
|
|
init_client_dirs("prefs1.xml");
|
2002-04-30 22:22:54 +00:00
|
|
|
copy_to_download_dir("input");
|
2002-06-20 23:27:37 +00:00
|
|
|
add_platform(null);
|
2002-05-29 23:25:21 +00:00
|
|
|
add_user(null);
|
2002-07-05 22:04:16 +00:00
|
|
|
add_app("upper_case",null,null);
|
2002-06-28 00:55:19 +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 5 input input input input input");
|
2002-06-01 20:26:21 +00:00
|
|
|
start_feeder();
|
2002-07-03 20:48:01 +00:00
|
|
|
//run_client("-exit_after 10");
|
2002-07-01 22:41:09 +00:00
|
|
|
run_client("-exit_when_idle");
|
2002-06-01 20:26:21 +00:00
|
|
|
stop_feeder();
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
check_results_done();
|
|
|
|
compare_file("uc_wu_0_0", "uc_correct_output");
|
|
|
|
compare_file("uc_wu_1_0", "uc_correct_output");
|
2002-06-28 00:55:19 +00:00
|
|
|
compare_file("uc_wu_2_0", "uc_correct_output");
|
|
|
|
compare_file("uc_wu_3_0", "uc_correct_output");
|
|
|
|
compare_file("uc_wu_4_0", "uc_correct_output");
|
2002-04-30 22:22:54 +00:00
|
|
|
?>
|