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

Diff of /temp/autotest-scons

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

revision 356 by jgs, Wed Dec 14 05:37:24 2005 UTC revision 361 by jgs, Thu Dec 15 02:04:58 2005 UTC
# Line 44  export OMP_NESTED=FALSE Line 44  export OMP_NESTED=FALSE
44    
45  FAIL=0  FAIL=0
46    
47  echo running svn update  echo svn update
48  svn update  svn update
49  if [ $? != 0 ]  if [ $? != 0 ]
50  then  then
# Line 53  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
 scons debug=1 build_tests  
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  
 if [ $? != 0 ]  
 then  
   echo escript unit_test failed  
   echo "escript unit_test failed - see autotest-scons logfile" | mail -s "esys autotest-scons results" $MAIL_RECIPIENTS  
   FAIL=1  
 fi  
 cd ../..  
   
 echo running finley unit_tests  
 cd finley/test  
 ./unit_test-scons  
67  if [ $? != 0 ]  if [ $? != 0 ]
68  then  then
69    echo finley unit_test failed    echo  unit_test build failed
70    echo "finley 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
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.356  
changed lines
  Added in v.361

  ViewVC Help
Powered by ViewVC 1.1.26