/[escript]/branches/arrayview_from_1695_trunk/autotest-scons
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/autotest-scons

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

revision 377 by jgs, Fri Dec 16 02:00:35 2005 UTC revision 679 by jgs, Mon Mar 27 01:02:05 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="gross@esscc.uq.edu.au elspeth@esscc.uq.edu.au matt@esscc.uq.edu.au robert.woodcock@csiro.au Peter.Hornby@csiro.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"
11  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"  ESCRIPT_PYTESTS="ImportTest.py BinaryOps.py UnaryOps.py SliceGetting.py SliceSetting.py MiscTests.py ArchiveTests.py newEscriptTests.py test_xml.py insituTests.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"
13    
14  echo "===> cd $1"  echo "===> cd $1"
15  cd $1  cd $1
# Line 30  export LD_LIBRARY_PATH=/opt/intel/cmplrs Line 30  export LD_LIBRARY_PATH=/opt/intel/cmplrs
30  # define python location  # define python location
31  export PATH=/raid2/tools/python-2.3.4/bin:$PATH  export PATH=/raid2/tools/python-2.3.4/bin:$PATH
32    
33  # set library and openmp settings  # set library and python paths
34  export LD_LIBRARY_PATH=$PWD/lib:/raid2/tools/boost/lib:$LD_LIBRARY_PATH  export LD_LIBRARY_PATH=$PWD/lib:/raid2/tools/boost/lib:$LD_LIBRARY_PATH
35  export PYTHONPATH=$PWD  export PYTHONPATH=$PWD
36    
37    # set openmp settings
38  export OMP_SCHEDULE="dynamic"  export OMP_SCHEDULE="dynamic"
39  export OMP_NUM_THREADS=4  export OMP_NUM_THREADS=4
40  export OMP_DYNAMIC=TRUE  export OMP_DYNAMIC=TRUE
# Line 48  then Line 50  then
50  fi  fi
51    
52  echo "===> scons building esys"  echo "===> scons building esys"
53  scons debug=1  scons
54  if [ $? != 0 ]  if [ $? != 0 ]
55  then  then
56    echo "scons build failed"    echo "scons build failed"
# Line 57  then Line 59  then
59  fi  fi
60    
61  echo "===> building unit_tests"  echo "===> building unit_tests"
62  scons debug=1 build_tests  scons build_tests
63  if [ $? != 0 ]  if [ $? != 0 ]
64  then  then
65    echo "unit_test build failed"    echo "unit_test build failed"
# Line 68  fi Line 70  fi
70  FAIL=0  FAIL=0
71    
72  echo "===> running unit_tests"  echo "===> running unit_tests"
73  scons debug=1 run_tests  scons run_tests
74  if [ $? != 0 ]  if [ $? != 0 ]
75  then  then
76    echo "unit_testing failed"    echo "unit_testing failed"

Legend:
Removed from v.377  
changed lines
  Added in v.679

  ViewVC Help
Powered by ViewVC 1.1.26