1 |
#!/bin/bash |
2 |
# $Id: unit_test 244 2005-11-29 00:27:10Z jgs $ |
3 |
# simple script to run all escript unit tests |
4 |
|
5 |
MODULES="DataEmptyTest.exe DataConstantTest.exe DataTaggedTest.exe DataExpandedTest.exe DataFactoryTest.exe DataArrayTest.exe DataArrayViewTest.exe DataBlocks2DTest.exe DataVectorTest.exe TaipanTest.exe DataVariableTest.exe DataCTest.exe DataAlgorithmAdapterTest.exe FunctionSpaceTest.exe DataProfTest.exe DataTest.exe" |
6 |
|
7 |
for module in $MODULES ; do |
8 |
echo Testing: $module |
9 |
./$module |
10 |
if [ $? != 0 ] |
11 |
then |
12 |
echo Unit Testing FAILED for module: $module |
13 |
exit 1 |
14 |
fi |
15 |
done |
16 |
exit 0 |