source: branches/numpy_misc/tools/acceptance_tests/README @ 7244

Last change on this file since 7244 was 7047, checked in by rwilson, 16 years ago

Changes to run tests off-site.

File size: 1.3 KB
Line 
1This directory contains the python cluster acceptance test system code.
2
3The programs here are designed to be run as a complete suite as well
4as individually.  The suite writes to a log file as well as standard out.
5
6To run all tests in sequence, do:
7    python test_all.py [<logfile>]
8If no logfile is supplied, ./test.log is assumed.
9
10--------------------------------------------------------------------------------
11
12Ensure that the following environment variables are set to correct values:
13
14PYTHON
15contains the python to execute, eg, 'python2.4', etc.
16
17PYTHONPATH
18contains a single directory path to the ANUGA code.  Something like
19/nas/gemd/georisk_models/inundation/sandpits/rwilson/rwilson/branches/numpy
20(only needed by the test_test_all.py module)
21
22EQRMPATH
23if set, contains a single directory path to the EQRM code.  If not set,
24the EQRM code is not tested.
25
26--------------------------------------------------------------------------------
27
28To run these tests on a new cluster:
291. Modify the 'Cluster_Info' structure in test_utils.py to add the new cluster
30   information.
312. Create a new 'machines_<name>' file in this directory that describes the
32   cluster compute-node setup.  Note that the 'machines_<name>' file  doesn't
33   appear to be used by *anything*.
Note: See TracBrowser for help on using the repository browser.