Updated test files to support multiple platforms when testing.

svn path=/trunk/boinc/; revision=117
This commit is contained in:
Eric Heien 2002-06-20 23:27:37 +00:00
parent b963d03030
commit a63806afe1
3 changed files with 8 additions and 4 deletions

View File

@ -108,10 +108,14 @@ function add_prefs($file) {
PassThru("../tools/add prefs -email_addr $BOINC_EMAIL -prefs_file $file");
}
function add_platform() {
function add_platform($platform) {
global $BOINC_PLATFORM;
PassThru("../tools/add platform -platform_name $BOINC_PLATFORM");
if( $platform ) {
PassThru("../tools/add platform -platform_name $platform");
} else {
PassThru("../tools/add platform -platform_name $BOINC_PLATFORM");
}
}
function add_core_client_message($message, $priority) {

View File

@ -11,7 +11,7 @@
clear_data_dirs();
init_client_dirs("account1.xml");
copy_to_download_dir("input");
add_platform();
add_platform(null);
add_core_client();
add_user(null);
add_app("concat");

View File

@ -11,7 +11,7 @@
clear_data_dirs();
init_client_dirs("account1.xml");
copy_to_download_dir("input");
add_platform();
add_platform(null);
add_user(null);
add_app("upper_case");
create_work("-appname upper_case -wu_name uc_wu -wu_template uc_wu -result_template uc_result -nresults 2 input input");