/[escript]/branches/schroedinger_upto1946/README_TESTS
ViewVC logotype

Contents of /branches/schroedinger_upto1946/README_TESTS

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1947 - (show annotations)
Wed Oct 29 23:19:45 2008 UTC (9 years ago) by jfenwick
File size: 1654 byte(s)
This does not actually have the changes in it yet.

1
2 The tests are now bundled with the rest of the software. You can run
3 them by hand with
4
5 scons run_tests (C++ tests only)
6 scons py_tests (python tests only)
7 scons all_tests (C++ and python tests)
8
9 The target run_tests takes about 15 minutes to run on ess. The target
10 all_tests takes quite a while to run, over a day on ess. Both sets of
11 tests are run nightly on ess, so it's probably not necessary for you
12 to run them yourself. The output of these nightly runs is available
13 to you in this directory on ess:
14
15 /raid3/ksteube/AutoTests
16
17 The autotest-scons script is run on ess nightly. It submits a PBS job
18 which does these things:
19
20 Check out trunk from esys13
21 Run scons run_tests or scons all_tests (command-line arg chooses which)
22 Report success or failure via e-mail
23 Clean up
24
25 The autotest-scons file should be maintained in SVN as
26 esys13/trunk/autotest-scons, be sure to copy it there and commit after
27 modification.
28
29 Log files, output and daily PBS scripts are maintained in
30 /raid3/ksteube/AutoTests/Logs
31
32 All files older than 3 weeks are deleted from here nightly. See the
33 find command in autotest-scons to change this behavior
34
35 Here is the crontab file I use to run it:
36
37 # min hour day month weekday command
38 # 0-59 0-23 1-31 1-12 0-6 (0 = Sunday)
39 #
40 SHELL=/bin/sh
41 MAILTO=k.steube@uq.edu.au
42 #
43 # Run 'autotest-scons run_tests' in the wee hours every weekday
44 0 1 * * 1-5 /raid3/ksteube/AutoTests/autotest-scons run_tests
45 # Run 'autotest-scons all_tests' in the wee hours only on Saturdays because it takes a long time to run
46 0 1 * * 6 /raid3/ksteube/AutoTests/autotest-scons all_tests
47

  ViewVC Help
Powered by ViewVC 1.1.26