/[escript]/trunk/esys2/autotest
ViewVC logotype

Diff of /trunk/esys2/autotest

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

revision 147 by jgs, Fri Aug 12 01:45:47 2005 UTC revision 149 by jgs, Thu Sep 1 03:31:39 2005 UTC
# Line 3  Line 3 
3  # $Id$  # $Id$
4  # An explicit testing script for esys  # An explicit testing script for esys
5    
6  MAIL_RECIPIENTS="jgs@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"
7    
8  echo cd $1  echo cd $1
9  cd $1  cd $1
10  if [ $? != 0 ]  if [ $? != 0 ]
11  then  then
12    echo couldnt cd $1    echo couldnt cd $1
13    echo "couldnt cd $1" | mail -s "autotest results" $MAIL_RECIPIENTS    echo "couldnt cd $1" | mail -s "esys autotest results" $MAIL_RECIPIENTS
14    exit 1    exit 1
15  fi  fi
16    
# Line 21  module load intel_cc.80.058 Line 21  module load intel_cc.80.058
21  if [ $? != 0 ]  if [ $? != 0 ]
22  then  then
23    echo couldnt load esys setup    echo couldnt load esys setup
24    echo "couldnt load esys setup" | mail -s "autotest results" $MAIL_RECIPIENTS    echo "couldnt load esys setup" | mail -s "esys autotest results" $MAIL_RECIPIENTS
25    exit 2    exit 2
26  fi  fi
27    
# Line 30  cvs update -P -d Line 30  cvs update -P -d
30  if [ $? != 0 ]  if [ $? != 0 ]
31  then  then
32    echo cvs update failed    echo cvs update failed
33    echo "cvs update failed" | mail -s "autotest results" $MAIL_RECIPIENTS    echo "cvs update failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
34    exit 3    exit 3
35  fi  fi
36    
# Line 39  echo running mk uninstall Line 39  echo running mk uninstall
39  if [ $? != 0 ]  if [ $? != 0 ]
40  then  then
41    echo ./mk uninstall failed    echo ./mk uninstall failed
42    echo "./mk uninstall failed" | mail -s "autotest results" $MAIL_RECIPIENTS    echo "./mk uninstall failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
43    exit 4    exit 4
44  fi  fi
45    
# Line 48  echo running mk clean Line 48  echo running mk clean
48  if [ $? != 0 ]  if [ $? != 0 ]
49  then  then
50    echo ./mk clean failed    echo ./mk clean failed
51    echo "./mk clean failed" | mail -s "autotest results" $MAIL_RECIPIENTS    echo "./mk clean failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
52    exit 5    exit 5
53  fi  fi
54    
# Line 57  echo running mk install Line 57  echo running mk install
57  if [ $? != 0 ]  if [ $? != 0 ]
58  then  then
59    echo ./mk install failed    echo ./mk install failed
60    echo "./mk install failed" | mail -s "autotest results" $MAIL_RECIPIENTS    echo "./mk install failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
61    exit 6    exit 6
62  fi  fi
63    
# Line 66  echo running mk unit_test Line 66  echo running mk unit_test
66  if [ $? != 0 ]  if [ $? != 0 ]
67  then  then
68    echo ./mk unit_test failed    echo ./mk unit_test failed
69    echo "./mk unit_test failed" | mail -s "autotest results" $MAIL_RECIPIENTS    echo "./mk unit_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
70    exit 7    exit 7
71  fi  fi
72    
# Line 75  echo running mk py_test Line 75  echo running mk py_test
75  if [ $? != 0 ]  if [ $? != 0 ]
76  then  then
77    echo ./mk py_test failed    echo ./mk py_test failed
78    echo "./mk py_test failed" | mail -s "autotest results" $MAIL_RECIPIENTS    echo "./mk py_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
79    exit 8    exit 8
80  fi  fi
81    
82  echo "success" | mail -s "autotest results" $MAIL_RECIPIENTS  echo "success" | mail -s "esys autotest results" $MAIL_RECIPIENTS
83  exit 0  exit 0

Legend:
Removed from v.147  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.26