/[escript]/trunk/autotest
ViewVC logotype

Diff of /trunk/autotest

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

trunk/esys2/autotest revision 153 by jgs, Tue Oct 25 01:51:20 2005 UTC trunk/autotest revision 162 by svn, Fri Nov 11 00:09:59 2005 UTC
# Line 20  then Line 20  then
20  fi  fi
21    
22  echo loading esys setup  echo loading esys setup
23  . ~/bin/esys_setup  . ~jgs/bin/esys_setup
24  if [ $? != 0 ]  if [ $? != 0 ]
25  then  then
26    echo couldnt load esys setup    echo couldnt load esys setup
# Line 28  then Line 28  then
28    exit 2    exit 2
29  fi  fi
30    
31  echo running cvs update  echo running svn update
32  cvs update -P -d  svn update
33  if [ $? != 0 ]  if [ $? != 0 ]
34  then  then
35    echo cvs update failed    echo svn update failed
36    echo "cvs update failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "svn update failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
37    exit 3    exit 3
38  fi  fi
39    
# Line 46  then Line 46  then
46    exit 4    exit 4
47  fi  fi
48    
 echo running mk clean  
 ./mk clean  
 if [ $? != 0 ]  
 then  
   echo ./mk clean failed  
   echo "./mk clean failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS  
   exit 5  
 fi  
   
49  echo running mk install  echo running mk install
50  ./mk install DEBUG  ./mk install DEBUG
51  if [ $? != 0 ]  if [ $? != 0 ]
52  then  then
53    echo ./mk install failed    echo ./mk install failed
54    echo "./mk install failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "./mk install failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS
55    exit 6    exit 5
56  fi  fi
57    
58  echo running mk unit_test  echo running mk unit_test
# Line 69  echo running mk unit_test Line 60  echo running mk unit_test
60  if [ $? != 0 ]  if [ $? != 0 ]
61  then  then
62    echo ./mk unit_test failed    echo ./mk unit_test failed
63    echo "./mk unit_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "./mk unit_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS
64    exit 7    exit 6
65  fi  fi
66    
67  echo running mk py_test  echo running mk py_test
# Line 78  echo running mk py_test Line 69  echo running mk py_test
69  if [ $? != 0 ]  if [ $? != 0 ]
70  then  then
71    echo ./mk py_test failed    echo ./mk py_test failed
72    echo "./mk py_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "./mk py_test failed - see autotest logfile" | mail -s "esys autotest results" $MAIL_RECIPIENTS
73    exit 8    exit 7
74  fi  fi
75    
76  echo "success" | mail -s "esys autotest results" $MAIL_RECIPIENTS  echo "success" | mail -s "esys autotest results" $MAIL_RECIPIENTS

Legend:
Removed from v.153  
changed lines
  Added in v.162

  ViewVC Help
Powered by ViewVC 1.1.26