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

Diff of /branches/DataC_2092/README_TESTS

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

revision 705 by gross, Fri Apr 7 17:57:37 2006 UTC revision 1638 by phornby, Mon Jul 14 05:47:20 2008 UTC
# Line 1  Line 1 
 # $Id$  
1    
2  The resources for test are delivered in extra archive file as they  The tests are now bundled with the rest of the software.  You can run
3  are big and the compilation can take a while.  them by hand with
4    
5  to install the tests      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    
 cd <my esys root>  
 tar xzf esys_tests.tar.gz  
 scons all_tests  

Legend:
Removed from v.705  
changed lines
  Added in v.1638

  ViewVC Help
Powered by ViewVC 1.1.26