boinc/test/test_projects.php

23 lines
569 B
PHP
Raw Normal View History

#! /usr/local/bin/php
<?php
// test multiple projects
//
include_once("init.inc");
check_env_vars();
clear_db();
clear_data_dirs();
create_keys();
init_client_dirs("prefs2.xml");
copy_to_download_dir("small_input");
add_platform(null);
add_core_client();
add_user("prefs.xml");
add_app("upper_case", null, null);
create_work("-appname upper_case -wu_name uc_wu -wu_template uc_wu -result_template uc_result -nresults 2 small_input");
start_feeder();
run_client("-exit_when_idle");
stop_feeder();
?>