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

Diff of /branches/cookbookdev/autotest-scons

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

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

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

  ViewVC Help
Powered by ViewVC 1.1.26