/[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 707 by gross, Wed Apr 12 23:58:02 2006 UTC revision 1638 by phornby, Mon Jul 14 05:47:20 2008 UTC
# Line 1  Line 1 
1  # $Id$  
2  #          Copyright 2006 by ACcESS MNRF  The tests are now bundled with the rest of the software.  You can run
3  #  them by hand with
4  #              http://www.access.edu.au  
5  #       Primary Business: Queensland, Australia      scons run_tests     (C++ tests only)
6  #  Licensed under the Open Software License version 3.0      scons py_tests      (python tests only)
7  #     http://www.opensource.org/licenses/osl-3.0.php      scons all_tests     (C++ and python tests)
8  #  
9  #  The target run_tests takes about 15 minutes to run on ess.  The target
10  The resources for test are delivered in extra archive file as they  all_tests takes quite a while to run, over a day on ess.  Both sets of
11  are big and the compilation can take a while.  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 install the tests  to you in this directory on ess:
14    
15  cd <my esys root>      /raid3/ksteube/AutoTests
16  tar xzf esys_tests.tar.gz  
17  scons all_tests  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    

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

  ViewVC Help
Powered by ViewVC 1.1.26