/[escript]/trunk/autotest
ViewVC logotype

Annotation of /trunk/autotest

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (hide annotations)
Thu Sep 1 03:31:39 2005 UTC (14 years, 2 months ago) by jgs
Original Path: trunk/esys2/autotest
File size: 1713 byte(s)
Merge of development branch dev-02 back to main trunk on 2005-09-01

1 jgs 147 #!/bin/bash
2    
3     # $Id$
4     # An explicit testing script for esys
5    
6 jgs 149 MAIL_RECIPIENTS="jgs@esscc.uq.edu.au gross@esscc.uq.edu.au cochrane@esscc.uq.edu.au elspeth@esscc.uq.edu.au"
7 jgs 147
8     echo cd $1
9     cd $1
10     if [ $? != 0 ]
11     then
12     echo couldnt cd $1
13 jgs 149 echo "couldnt cd $1" | mail -s "esys autotest results" $MAIL_RECIPIENTS
14 jgs 147 exit 1
15     fi
16    
17     echo loading esys setup
18     . /home/jgs/raid2/setModuleEnv
19     module load intel_cc.80.058
20     . ~/bin/esys_setup
21     if [ $? != 0 ]
22     then
23     echo couldnt load esys setup
24 jgs 149 echo "couldnt load esys setup" | mail -s "esys autotest results" $MAIL_RECIPIENTS
25 jgs 147 exit 2
26     fi
27    
28     echo running cvs update
29     cvs update -P -d
30     if [ $? != 0 ]
31     then
32     echo cvs update failed
33 jgs 149 echo "cvs update failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
34 jgs 147 exit 3
35     fi
36    
37     echo running mk uninstall
38     ./mk uninstall
39     if [ $? != 0 ]
40     then
41     echo ./mk uninstall failed
42 jgs 149 echo "./mk uninstall failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
43 jgs 147 exit 4
44     fi
45    
46     echo running mk clean
47     ./mk clean
48     if [ $? != 0 ]
49     then
50     echo ./mk clean failed
51 jgs 149 echo "./mk clean failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
52 jgs 147 exit 5
53     fi
54    
55     echo running mk install
56     ./mk install DEBUG
57     if [ $? != 0 ]
58     then
59     echo ./mk install failed
60 jgs 149 echo "./mk install failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
61 jgs 147 exit 6
62     fi
63    
64     echo running mk unit_test
65     ./mk unit_test
66     if [ $? != 0 ]
67     then
68     echo ./mk unit_test failed
69 jgs 149 echo "./mk unit_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
70 jgs 147 exit 7
71     fi
72    
73     echo running mk py_test
74     ./mk py_test
75     if [ $? != 0 ]
76     then
77     echo ./mk py_test failed
78 jgs 149 echo "./mk py_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
79 jgs 147 exit 8
80     fi
81    
82 jgs 149 echo "success" | mail -s "esys autotest results" $MAIL_RECIPIENTS
83 jgs 147 exit 0

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26