/[escript]/branches/more_shared_ptrs_from_1812/autotest-scons
ViewVC logotype

Annotation of /branches/more_shared_ptrs_from_1812/autotest-scons

Parent Directory Parent Directory | Revision Log Revision Log


Revision 707 - (hide annotations)
Wed Apr 12 23:58:02 2006 UTC (13 years, 2 months ago) by gross
Original Path: trunk/autotest-scons
File size: 2329 byte(s)
latex build documentation is working now
1 jgs 318 #!/bin/bash
2 gross 707 # Copyright 2006 by ACcESS MNRF
3     #
4     # http://www.access.edu.au
5     # Primary Business: Queensland, Australia
6     # Licensed under the Open Software License version 3.0
7     # http://www.opensource.org/licenses/osl-3.0.php
8     #
9     #
10     #
11 svn 336 # $Id: autotest-scons 162 2005-11-11 00:09:59Z svn $
12 jgs 318 # An explicit testing script for esys using the scons build system
13    
14     # list of users to email test results to
15 jgs 679 MAIL_RECIPIENTS="gross@esscc.uq.edu.au elspeth@esscc.uq.edu.au matt@esscc.uq.edu.au robert.woodcock@csiro.au Peter.Hornby@csiro.au"
16 jgs 318
17 jgs 321 # the python tests to run
18 robwdcock 683 BRUCE_PYTESTS="ImportTest.passed BruceTest.passed test_utilOnBruce.py"
19     ESCRIPT_PYTESTS="ImportTest.passed BinaryOps.passed UnaryOps.passed SliceGetting.passed SliceSetting.passed MiscTests.passed ArchiveTests.passed newEscriptTests.passed test_xml.passed insituTests.passed s2.passed"
20     FINLEY_PYTESTS="ImportTest.passed finleyTest.passed SimpleSolve.passed RecTest.passed test_linearPDEsOnFinley.passed test_generators.passed test_visualization_interface.passed test_utilOnFinley.passed"
21 jgs 321
22 jgs 365 echo "===> cd $1"
23 svn 346 cd $1
24     if [ $? != 0 ]
25     then
26 jgs 365 echo "couldnt cd $1"
27 svn 346 echo "couldnt cd $1" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS
28     exit 1
29     fi
30    
31 svn 344 PWD=`pwd`
32 jgs 365 echo "===> working in: $PWD"
33 jgs 321
34 robwdcock 683 # Setup the environment
35     . ${MODULESHOME}/init/sh
36     module load intel_cc.9.0.026
37     export MODULEPATH=${MODULEPATH}:/data/raid2/toolspp4/modulefiles/gcc-3.3.6
38 gross 707 module load python/2.4.1
39 robwdcock 683 module load boost/1.33.0/python-2.4.1
40     module load numarray/1.3.3
41 jgs 318
42 jgs 470 # set openmp settings
43 svn 344 export OMP_NUM_THREADS=4
44    
45 jgs 365 echo "===> svn update"
46 svn 320 svn update
47     if [ $? != 0 ]
48     then
49 jgs 365 echo "svn update failed"
50 svn 336 echo "svn update failed" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS
51 svn 344 exit 2
52 svn 320 fi
53 jgs 319
54 jgs 365 echo "===> scons building esys"
55 svn 463 scons
56 svn 320 if [ $? != 0 ]
57     then
58 jgs 365 echo "scons build failed"
59     echo "scons build failed" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS
60 svn 344 exit 3
61 svn 320 fi
62    
63 jgs 365 echo "===> building unit_tests"
64 gross 707 scons build_all_tests
65 jgs 318 if [ $? != 0 ]
66     then
67 gross 707 echo "build_tests failed"
68     echo "build_tests failed" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS
69 jgs 361 exit 3
70 jgs 318 fi
71    
72 jgs 365 FAIL=0
73    
74     echo "===> running unit_tests"
75 gross 707 scons run_all_tests
76 jgs 318 if [ $? != 0 ]
77     then
78 gross 707 echo "run_all_tests failed"
79     echo "run_all_tests failed" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS
80     exit 4
81 jgs 318 fi

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26