/[escript]/trunk/autotest
ViewVC logotype

Diff of /trunk/autotest

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

revision 155 by jgs, Wed Nov 9 02:02:19 2005 UTC revision 161 by svn, Thu Nov 10 06:49:15 2005 UTC
# Line 4  Line 4 
4  # An explicit testing script for esys  # An explicit testing script for esys
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 20  then Line 21  then
21  fi  fi
22    
23  echo loading esys setup  echo loading esys setup
24  . ~/bin/esys_setup  . ~jgs/bin/esys_setup
25  if [ $? != 0 ]  if [ $? != 0 ]
26  then  then
27    echo couldnt load esys setup    echo couldnt load esys setup
# Line 28  then Line 29  then
29    exit 2    exit 2
30  fi  fi
31    
32  echo running cvs update  echo running svn update
33  cvs update -P -d  svn update
34  if [ $? != 0 ]  if [ $? != 0 ]
35  then  then
36    echo cvs update failed    echo svn update failed
37    echo "cvs 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    
# Line 46  then Line 47  then
47    exit 4    exit 4
48  fi  fi
49    
 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  
   
50  echo running mk install  echo running mk install
51  ./mk install DEBUG  ./mk install DEBUG
52  if [ $? != 0 ]  if [ $? != 0 ]
53  then  then
54    echo ./mk install failed    echo ./mk install failed
55    echo "./mk install failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "./mk install failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
56    exit 6    exit 5
57  fi  fi
58    
59  echo running mk unit_test  echo running mk unit_test
# Line 70  if [ $? != 0 ] Line 62  if [ $? != 0 ]
62  then  then
63    echo ./mk unit_test failed    echo ./mk unit_test failed
64    echo "./mk unit_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "./mk unit_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
65    exit 7    exit 6
66  fi  fi
67    
68  echo running mk py_test  echo running mk py_test
# Line 79  if [ $? != 0 ] Line 71  if [ $? != 0 ]
71  then  then
72    echo ./mk py_test failed    echo ./mk py_test failed
73    echo "./mk py_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS    echo "./mk py_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
74    exit 8    exit 7
75  fi  fi
76    
77  echo "success" | mail -s "esys autotest results" $MAIL_RECIPIENTS  echo "success" | mail -s "esys autotest results" $MAIL_RECIPIENTS

Legend:
Removed from v.155  
changed lines
  Added in v.161

  ViewVC Help
Powered by ViewVC 1.1.26