10 |
#********************************************************************** |
#********************************************************************** |
11 |
|
|
12 |
# the modules to make |
# the modules to make |
13 |
MODULES="tools/CppUnitTest tools/mmio esysUtils escript finley bruce modellib" |
MODULES="tools/CppUnitTest tools/mmio esysUtils escript paso finley bruce modellib" |
14 |
|
|
15 |
# the modules to test |
# the modules to test |
16 |
TESTS="escript finley bruce" |
TESTS="escript finley bruce" |
17 |
|
|
18 |
# the python tests to run |
# the python tests to run |
19 |
FINLEY_PYTESTS="ImportTest.py SimpleSolve.py GradTest.py test_linearPDEsOnFinley.py" |
FINLEY_PYTESTS="ImportTest.py SimpleSolve.py GradTest.py test_linearPDEsOnFinley.py test_generators.py test_visualization_interface.py" |
20 |
ESCRIPT_PYTESTS="ImportTest.py BinaryOps.py UnaryOps.py SliceGetting.py SliceSetting.py MiscTests.py newEscriptTests.py escriptTest.py DataVariableTests.py test_xml.py pdetoolsTest.py" |
ESCRIPT_PYTESTS="ImportTest.py BinaryOps.py UnaryOps.py SliceGetting.py SliceSetting.py MiscTests.py newEscriptTests.py escriptTest.py DataVariableTests.py test_xml.py pdetoolsTest.py" |
21 |
BRUCE_PYTESTS="ImportTest.py" |
BRUCE_PYTESTS="ImportTest.py" |
22 |
|
|
41 |
(cd esysUtils/inc; if [ ! -h esysUtils ]; then ln -s ../src esysUtils; fi) |
(cd esysUtils/inc; if [ ! -h esysUtils ]; then ln -s ../src esysUtils; fi) |
42 |
(cd escript/inc; if [ ! -h escript ]; then ln -s ../src escript; fi) |
(cd escript/inc; if [ ! -h escript ]; then ln -s ../src escript; fi) |
43 |
(cd finley/inc; if [ ! -h finley ]; then ln -s ../src finley; fi) |
(cd finley/inc; if [ ! -h finley ]; then ln -s ../src finley; fi) |
44 |
|
(cd paso/inc; if [ ! -h paso ]; then ln -s ../src paso; fi) |
45 |
(cd bruce/inc; if [ ! -h bruce ]; then ln -s ../src bruce; fi) |
(cd bruce/inc; if [ ! -h bruce ]; then ln -s ../src bruce; fi) |
46 |
|
|
47 |
(cd tools/mmio; if [ ! -h Makefile ]; then ln -s ./mmio.mk Makefile; fi) |
(cd tools/mmio; if [ ! -h Makefile ]; then ln -s ./mmio.mk Makefile; fi) |
49 |
(cd esysUtils; if [ ! -h Makefile ]; then ln -s ./esysUtils.mk Makefile; fi) |
(cd esysUtils; if [ ! -h Makefile ]; then ln -s ./esysUtils.mk Makefile; fi) |
50 |
(cd escript; if [ ! -h Makefile ]; then ln -s ./escript.mk Makefile; fi) |
(cd escript; if [ ! -h Makefile ]; then ln -s ./escript.mk Makefile; fi) |
51 |
(cd finley; if [ ! -h Makefile ]; then ln -s ./finley.mk Makefile; fi) |
(cd finley; if [ ! -h Makefile ]; then ln -s ./finley.mk Makefile; fi) |
52 |
|
(cd paso; if [ ! -h Makefile ]; then ln -s ./paso.mk Makefile; fi) |
53 |
(cd bruce; if [ ! -h Makefile ]; then ln -s ./bruce.mk Makefile; fi) |
(cd bruce; if [ ! -h Makefile ]; then ln -s ./bruce.mk Makefile; fi) |
54 |
(cd modellib; if [ ! -h Makefile ]; then ln -s ./modellib.mk Makefile; fi) |
(cd modellib; if [ ! -h Makefile ]; then ln -s ./modellib.mk Makefile; fi) |
55 |
|
|
109 |
echo Python Testing FAILED for $pytest in module $module |
echo Python Testing FAILED for $pytest in module $module |
110 |
exit 1 |
exit 1 |
111 |
fi |
fi |
112 |
done |
done |
113 |
elif [ "$module" == "escript" ] |
elif [ "$module" == "escript" ] |
114 |
then |
then |
115 |
for pytest in $ESCRIPT_PYTESTS |
for pytest in $ESCRIPT_PYTESTS |