/[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 344 by svn, Tue Dec 13 05:17:32 2005 UTC revision 361 by jgs, Thu Dec 15 02:04:58 2005 UTC
# Line 5  Line 5 
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"
8    #MAIL_RECIPIENTS="jgs@esscc.uq.edu.au"
9    
10  # modules to test  # modules to test
11  TESTS="escript bruce finley"  TESTS="escript bruce finley"
# Line 14  FINLEY_PYTESTS="ImportTest.py finleyTest Line 15  FINLEY_PYTESTS="ImportTest.py finleyTest
15  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 escriptTest.py newEscriptTests.py DataVariableTests.py test_xml.py"
16  BRUCE_PYTESTS="ImportTest.py BruceTest.py test_utilOnBruce.py test_symbolsOnBruce.py"  BRUCE_PYTESTS="ImportTest.py BruceTest.py test_utilOnBruce.py test_symbolsOnBruce.py"
17    
18    echo cd $1
19    cd $1
20    if [ $? != 0 ]
21    then
22      echo couldnt cd $1
23      echo "couldnt cd $1" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS
24      exit 1
25    fi
26    
27  PWD=`pwd`  PWD=`pwd`
28  echo working in: $PWD  echo working in: $PWD
29    
# Line 34  export OMP_NESTED=FALSE Line 44  export OMP_NESTED=FALSE
44    
45  FAIL=0  FAIL=0
46    
47  echo cd $1  echo svn update
 cd $1  
 if [ $? != 0 ]  
 then  
   echo couldnt cd $1  
   echo "couldnt cd $1" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS  
   exit 1  
 fi  
   
 echo running svn update  
48  svn update  svn update
49  if [ $? != 0 ]  if [ $? != 0 ]
50  then  then
# Line 52  then Line 53  then
53    exit 2    exit 2
54  fi  fi
55    
56  echo running scons debug=1  echo building scons debug=1
57  scons debug=1  scons debug=1
58  if [ $? != 0 ]  if [ $? != 0 ]
59  then  then
60    echo scons failed    echo scons build failed
61    echo "scons failed - see autotest-scons logfile" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS    echo "scons build failed - see autotest-scons logfile" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS
62    exit 3    exit 3
63  fi  fi
64    
65  echo running bruce unit_tests  echo building unit_tests
66  cd bruce/test  scons debug=1 build_tests
 ./unit_test-scons  
 if [ $? != 0 ]  
 then  
   echo bruce unit_test failed  
   echo "bruce unit_test failed - see autotest-scons logfile" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS  
   FAIL=1  
 fi  
 cd ../..  
   
 echo running escript unit_tests  
 cd escript/test  
 ./unit_test-scons  
67  if [ $? != 0 ]  if [ $? != 0 ]
68  then  then
69    echo escript unit_test failed    echo  unit_test build failed
70    echo "escript unit_test failed - see autotest-scons logfile" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS    echo "unit_test build failed - see autotest-scons logfile" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS
71    FAIL=1    exit 3
 fi  
 cd ../..  
   
 echo running finley unit_tests  
 cd finley/test  
 ./unit_test-scons  
 if [ $? != 0 ]  
 then  
   echo finley unit_test failed  
   echo "finley unit_test failed - see autotest-scons logfile" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS  
   FAIL=1  
72  fi  fi
 cd ../..  
73    
74  echo running esysUtils unit_tests  echo running unit_tests
75  cd esysUtils/test  scons debug=1 run_tests
 ./unit_test-scons  
76  if [ $? != 0 ]  if [ $? != 0 ]
77  then  then
78    echo esysUtils unit_test failed    echo unit_testing failed
79    echo "esysUtils unit_test failed - see autotest-scons logfile" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS    echo "unit_test failed - see autotest-scons logfile" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS
80    FAIL=1    FAIL=1
81  fi  fi
 cd ../..  
82    
83  for module in $TESTS  for module in $TESTS
84  do  do

Legend:
Removed from v.344  
changed lines
  Added in v.361

  ViewVC Help
Powered by ViewVC 1.1.26