/[escript]/trunk/autotest-scons
ViewVC logotype

Diff of /trunk/autotest-scons

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 365 by jgs, Thu Dec 15 05:00:05 2005 UTC revision 469 by svn, Fri Jan 27 00:00:44 2006 UTC
# Line 4  Line 4 
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 elspeth@esscc.uq.edu.au matt@esscc.uq.edu.au"
 MAIL_RECIPIENTS="jgs@esscc.uq.edu.au"  
8    
9  # the python tests to run  # the python tests to run
10  BRUCE_PYTESTS="ImportTest.py BruceTest.py test_utilOnBruce.py test_symbolsOnBruce.py"  BRUCE_PYTESTS="ImportTest.py BruceTest.py test_utilOnBruce.py test_symbolsOnBruce.py"
11  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 newEscriptTests.py DataVariableTests.py test_xml.py insituTests.py pdetoolsTest.py s2.py"
12  FINLEY_PYTESTS="ImportTest.py finleyTest.py SimpleSolve.py GradTest.py RecTest.py test_linearPDEsOnFinley.py test_generators.py test_visualization_interface.py test_utilOnFinley.py test_symbolsOnFinley.py"  FINLEY_PYTESTS="ImportTest.py finleyTest.py SimpleSolve.py RecTest.py test_linearPDEsOnFinley.py test_generators.py test_visualization_interface.py test_utilOnFinley.py test_symbolsOnFinley.py"
13    
14  echo "===> cd $1"  echo "===> cd $1"
15  cd $1  cd $1
# Line 49  then Line 48  then
48  fi  fi
49    
50  echo "===> scons building esys"  echo "===> scons building esys"
51  scons debug=1  scons
52  if [ $? != 0 ]  if [ $? != 0 ]
53  then  then
54    echo "scons build failed"    echo "scons build failed"
# Line 58  then Line 57  then
57  fi  fi
58    
59  echo "===> building unit_tests"  echo "===> building unit_tests"
60  scons debug=1 build_tests  scons build_tests
61  if [ $? != 0 ]  if [ $? != 0 ]
62  then  then
63    echo "unit_test build failed"    echo "unit_test build failed"
# Line 69  fi Line 68  fi
68  FAIL=0  FAIL=0
69    
70  echo "===> running unit_tests"  echo "===> running unit_tests"
71  scons debug=1 run_tests  scons run_tests
72  if [ $? != 0 ]  if [ $? != 0 ]
73  then  then
74    echo "unit_testing failed"    echo "unit_testing failed"
# Line 77  then Line 76  then
76    FAIL=1    FAIL=1
77  fi  fi
78    
 echo "===> running python tests for escript"  
79  cd escript/test/python  cd escript/test/python
80  for pytest in $ESCRIPT_PYTESTS  for pytest in $ESCRIPT_PYTESTS
81  do  do
82    echo "running python test: $pytest"    echo "===>running escript python test: $pytest"
83    python $pytest    python $pytest
84    if [ $? != 0 ]    if [ $? != 0 ]
85    then    then
# Line 92  do Line 90  do
90  done  done
91  cd ../../..  cd ../../..
92    
 echo "===> running python tests for finley"  
93  cd finley/test/python  cd finley/test/python
94  for pytest in $FINLEY_PYTESTS  for pytest in $FINLEY_PYTESTS
95  do  do
96    echo "running python test: $pytest"    echo "running finley python test: $pytest"
97    python $pytest    python $pytest
98    if [ $? != 0 ]    if [ $? != 0 ]
99    then    then
# Line 107  do Line 104  do
104  done  done
105  cd ../../..  cd ../../..
106    
 echo "===> running python tests for bruce"  
107  cd bruce/test/python  cd bruce/test/python
108  for pytest in $BRUCE_PYTESTS  for pytest in $BRUCE_PYTESTS
109  do  do
110    echo "running python test: $pytest"    echo "running bruce python test: $pytest"
111    python $pytest    python $pytest
112    if [ $? != 0 ]    if [ $? != 0 ]
113    then    then

Legend:
Removed from v.365  
changed lines
  Added in v.469

  ViewVC Help
Powered by ViewVC 1.1.26