mirror of https://github.com/BOINC/boinc.git
Updated test files to support multiple platforms when testing.
svn path=/trunk/boinc/; revision=117
This commit is contained in:
parent
b963d03030
commit
a63806afe1
|
@ -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) {
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue