/[escript]/trunk/README_TESTS
ViewVC logotype

Diff of /trunk/README_TESTS

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.700  
changed lines
  Added in v.2155

  ViewVC Help
Powered by ViewVC 1.1.26