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

Diff of /temp/autotest-scons

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

revision 319 by jgs, Tue Dec 6 04:25:37 2005 UTC revision 320 by svn, Tue Dec 6 04:35:27 2005 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 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  # define compiler executable and library locations  # define compiler executable and library locations
11  export PATH=/opt/intel/cmplrs/80.058/intel_cc_80/bin:$PATH  export PATH=/opt/intel/cmplrs/80.058/intel_cc_80/bin:$PATH
# Line 28  then Line 29  then
29    exit 2    exit 2
30  fi  fi
31    
32  #echo running svn update  echo running svn update
33  #svn update  svn update
34  #if [ $? != 0 ]  if [ $? != 0 ]
35  #then  then
36  #  echo svn update failed    echo svn update failed
37  #  echo "svn update failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "svn update failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
38  #  exit 3    exit 3
39  #fi  fi
40  ##  
41  #echo running scons debug=1  echo running scons debug=1
42  #scons debug=1  scons debug=1
43  #if [ $? != 0 ]  if [ $? != 0 ]
44  #then  then
45  #  echo scons failed    echo scons failed
46  #  echo "scons failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "scons failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS
47  #  exit 5    exit 5
48  #fi  fi
49    
50  echo running bruce unit_tests  echo running bruce unit_tests
51  cd bruce/test  cd bruce/test
52  ./unit_test  ./unit_test-scons
53  if [ $? != 0 ]  if [ $? != 0 ]
54  then  then
55    echo bruce unit_test failed    echo bruce unit_test failed
56    echo "bruce unit_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "bruce unit_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS
57    exit 6    exit 6
58  fi  fi
59  cd ..  cd ../..
60    
61  echo running escript unit_tests  echo running escript unit_tests
62  cd escript/test  cd escript/test
63  ./unit_test  ./unit_test-scons
64  if [ $? != 0 ]  if [ $? != 0 ]
65  then  then
66    echo escript unit_test failed    echo escript unit_test failed
67    echo "escript unit_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "escript unit_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS
68    exit 6    exit 6
69  fi  fi
70  cd ..  cd ../..
71    
72  echo running finley unit_tests  echo running finley unit_tests
73  cd finley/test  cd finley/test
74  ./unit_test  ./unit_test-scons
75  if [ $? != 0 ]  if [ $? != 0 ]
76  then  then
77    echo finley unit_test failed    echo finley unit_test failed
78    echo "finley unit_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "finley unit_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS
79    exit 6    exit 6
80  fi  fi
81  cd ..  cd ../..
82    
83  #echo running mk py_test  #echo running mk py_test
84  #./mk py_test  #./mk py_test

Legend:
Removed from v.319  
changed lines
  Added in v.320

  ViewVC Help
Powered by ViewVC 1.1.26