/[escript]/trunk/autotest
ViewVC logotype

Annotation of /trunk/autotest

Parent Directory Parent Directory | Revision Log Revision Log


Revision 147 - (hide annotations)
Fri Aug 12 01:45:47 2005 UTC (13 years, 6 months ago) by jgs
Original Path: trunk/esys2/autotest
File size: 1597 byte(s)
erge of development branch dev-02 back to main trunk on 2005-08-12

1 jgs 147 #!/bin/bash
2    
3     # $Id$
4     # An explicit testing script for esys
5    
6     MAIL_RECIPIENTS="jgs@esscc.uq.edu.au"
7    
8     echo cd $1
9     cd $1
10     if [ $? != 0 ]
11     then
12     echo couldnt cd $1
13     echo "couldnt cd $1" | mail -s "autotest results" $MAIL_RECIPIENTS
14     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     echo "couldnt load esys setup" | mail -s "autotest results" $MAIL_RECIPIENTS
25     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     echo "cvs update failed" | mail -s "autotest results" $MAIL_RECIPIENTS
34     exit 3
35     fi
36    
37     echo running mk uninstall
38     ./mk uninstall
39     if [ $? != 0 ]
40     then
41     echo ./mk uninstall failed
42     echo "./mk uninstall failed" | mail -s "autotest results" $MAIL_RECIPIENTS
43     exit 4
44     fi
45    
46     echo running mk clean
47     ./mk clean
48     if [ $? != 0 ]
49     then
50     echo ./mk clean failed
51     echo "./mk clean failed" | mail -s "autotest results" $MAIL_RECIPIENTS
52     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     echo "./mk install failed" | mail -s "autotest results" $MAIL_RECIPIENTS
61     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     echo "./mk unit_test failed" | mail -s "autotest results" $MAIL_RECIPIENTS
70     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     echo "./mk py_test failed" | mail -s "autotest results" $MAIL_RECIPIENTS
79     exit 8
80     fi
81    
82     echo "success" | mail -s "autotest results" $MAIL_RECIPIENTS
83     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