4 |
# An explicit testing script for esys using the scons build system |
# An explicit testing script for esys using the scons build system |
5 |
|
|
6 |
# list of users to email test results to |
# list of users to email test results to |
7 |
MAIL_RECIPIENTS="jgs@esscc.uq.edu.au gross@esscc.uq.edu.au cochrane@esscc.uq.edu.au elspeth@esscc.uq.edu.au matt@esscc.uq.edu.au" |
#MAIL_RECIPIENTS="jgs@esscc.uq.edu.au gross@esscc.uq.edu.au cochrane@esscc.uq.edu.au elspeth@esscc.uq.edu.au matt@esscc.uq.edu.au" |
8 |
|
MAIL_RECIPIENTS="jgs@esscc.uq.edu.au" |
9 |
|
|
10 |
# modules to test |
# modules to test |
11 |
TESTS="escript bruce finley" |
TESTS="escript bruce finley" |
15 |
ESCRIPT_PYTESTS="ImportTest.py BinaryOps.py UnaryOps.py SliceGetting.py SliceSetting.py MiscTests.py ArchiveTests.py escriptTest.py newEscriptTests.py DataVariableTests.py test_xml.py" |
ESCRIPT_PYTESTS="ImportTest.py BinaryOps.py UnaryOps.py SliceGetting.py SliceSetting.py MiscTests.py ArchiveTests.py escriptTest.py newEscriptTests.py DataVariableTests.py test_xml.py" |
16 |
BRUCE_PYTESTS="ImportTest.py BruceTest.py test_utilOnBruce.py test_symbolsOnBruce.py" |
BRUCE_PYTESTS="ImportTest.py BruceTest.py test_utilOnBruce.py test_symbolsOnBruce.py" |
17 |
|
|
18 |
|
echo cd $1 |
19 |
|
cd $1 |
20 |
|
if [ $? != 0 ] |
21 |
|
then |
22 |
|
echo couldnt cd $1 |
23 |
|
echo "couldnt cd $1" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS |
24 |
|
exit 1 |
25 |
|
fi |
26 |
|
|
27 |
PWD=`pwd` |
PWD=`pwd` |
28 |
echo working in: $PWD |
echo working in: $PWD |
29 |
|
|
44 |
|
|
45 |
FAIL=0 |
FAIL=0 |
46 |
|
|
|
echo cd $1 |
|
|
cd $1 |
|
|
if [ $? != 0 ] |
|
|
then |
|
|
echo couldnt cd $1 |
|
|
echo "couldnt cd $1" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS |
|
|
exit 1 |
|
|
fi |
|
|
|
|
47 |
echo running svn update |
echo running svn update |
48 |
svn update |
svn update |
49 |
if [ $? != 0 ] |
if [ $? != 0 ] |