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" |
|
MAIL_RECIPIENTS="jgs@esscc.uq.edu.au" |
|
8 |
|
|
9 |
#modules to test |
#modules to test |
10 |
TESTS="escript bruce finley" |
TESTS="escript bruce finley" |
107 |
if [ $? != 0 ] |
if [ $? != 0 ] |
108 |
then |
then |
109 |
echo Python Testing FAILED for $pytest in module $module |
echo Python Testing FAILED for $pytest in module $module |
110 |
|
echo "finley py_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS |
111 |
exit 1 |
exit 1 |
112 |
fi |
fi |
113 |
done |
done |
120 |
if [ $? != 0 ] |
if [ $? != 0 ] |
121 |
then |
then |
122 |
echo Python Testing FAILED for $pytest in module $module |
echo Python Testing FAILED for $pytest in module $module |
123 |
|
echo "escript py_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS |
124 |
exit 1 |
exit 1 |
125 |
fi |
fi |
126 |
done |
done |
133 |
if [ $? != 0 ] |
if [ $? != 0 ] |
134 |
then |
then |
135 |
echo Python Testing FAILED for $pytest in module $module |
echo Python Testing FAILED for $pytest in module $module |
136 |
|
echo "bruce py_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS |
137 |
exit 1 |
exit 1 |
138 |
fi |
fi |
139 |
done |
done |