mirror of https://github.com/BOINC/boinc.git
d5aae7ad6c
svn path=/trunk/boinc/; revision=1576 |
||
---|---|---|
.. | ||
.cvsignore | ||
1sec_correct_output | ||
1sec_result | ||
1sec_wu | ||
Makefile.am | ||
Makefile.in | ||
README | ||
abort_result | ||
boinc.py | ||
boinc_db.inc | ||
boinc_db.py | ||
concat_correct_output | ||
concat_result | ||
concat_wu | ||
db_def_to_php | ||
db_def_to_py | ||
gen_keys.php | ||
init.inc | ||
input | ||
log_flags.xml | ||
make_project.php | ||
make_project_ap.php | ||
make_project_sah.php | ||
miniserv.pl | ||
shrm | ||
small_input | ||
ta_correct_atc | ||
ta_correct_f | ||
test.inc | ||
test_1sec.php | ||
test_1sec.py | ||
test_abort.php | ||
test_api.php | ||
test_backend.php | ||
test_backend.py | ||
test_concat.php | ||
test_concat.py | ||
test_download_backoff.php | ||
test_limit.php | ||
test_loop.php | ||
test_masterurl_failure.php | ||
test_mdownload_backoff.php | ||
test_pers.php | ||
test_prefs.php | ||
test_rsc.php | ||
test_sanity.php | ||
test_sanity.py | ||
test_sched_failure.php | ||
test_sticky.php | ||
test_suite.php | ||
test_time.php | ||
test_uc.inc | ||
test_uc.php | ||
test_uc.py | ||
test_uc_slow.php | ||
test_uc_win.php | ||
test_upload_backoff.php | ||
test_upload_resume.php | ||
test_water.php | ||
testproxy | ||
uc_correct_output | ||
uc_multiple_download_wu | ||
uc_multiple_uploads_result | ||
uc_result | ||
uc_result_sticky | ||
uc_small_correct_output | ||
uc_wu | ||
uc_wu_sticky | ||
ucs_wu | ||
version.inc.in | ||
version.py.in |
README
$Id$
TEST SCRIPTS
============
These test scripts will test that BOINC works as expected/designed.
PREREQUISITES
-------------
1. MySQL installed and running. Currently the script expects it to be running
on localhost but that could be changed.
2. Python 2.2, Python module MySQLdb
3. Perl
4. PHP
COREQUISITES
------------
1. Webserver. Normally boinc.py will use the included miniserv.pl but any
webserver could be used if configured. See below.
OTHER RECOMMENDED TOOLS
-----------------------
1. PHPMyAdmin. Useful for viewing database.
RUNNING
-------
Type: (in either the test/ directory or the boinc source root directory)
make check
APPENDICES
==========
OPTIONAL ENVIRONMENT VARIABLES
------------------------------
The following environment variables are optional and apply whatever web server
you use:
BOINC_TEST_USER_NAME
User name to use for setting up database name. Defaults to $USER
BOINC_TEST_VERBOSE
Verbosity level.
0 print nothing
1 [default] print some
if output is a tty, overwrite lines.
2 print all
BOINC_TEST_DELETE
Specifies whether or not to delete testbed after the test finishes. Case
doesn't matter. Only relevant when BOINC_TEST_AUTO_SETUP=0. Possible
values:
No
If-Successful [default]
Always
BOINC_TEST_INSTALL_METHOD
Specifies how to install html/php, cgi from source directories to testbed
location.
link [default] - hardlink
symlink - symbolic link
copy - copy
Copying is useful because it preserves what version of the file was used
in a particular test run and
Hardlinking is best because compiled cgi and scheduler programs are not
disrupted by parallel builds.
WEB SERVER
----------
By default, the test script will use the "miniserv" program to set up a web
server testing environment. You can also use Apache or some other webserver
with manually set-up directories by setting these environment variables:
BOINC_TEST_AUTO_SETUP=0 [default=1]
BOINC_TEST_KEY_DIR
BOINC_TEST_PROJECTS_DIR
BOINC_TEST_CGI_URL
BOINC_TEST_HTML_URL
BOINC_TEST_CGI_DIR
BOINC_TEST_HTML_DIR
BOINC_TEST_HOSTS_DIR