/[escript]/trunk/autotest
ViewVC logotype

Annotation of /trunk/autotest

Parent Directory Parent Directory | Revision Log Revision Log


Revision 161 - (hide annotations)
Thu Nov 10 06:49:15 2005 UTC (13 years, 3 months ago) by svn
File size: 1758 byte(s)
modifying to use the svn repository

1 jgs 147 #!/bin/bash
2    
3     # $Id$
4     # An explicit testing script for esys
5    
6 jgs 153 # list of users to email test results to
7 svn 161 #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 jgs 147
10 jgs 153 # define compiler executable and library locations
11     export PATH=/opt/intel/cmplrs/80.058/intel_cc_80/bin:$PATH
12     export LD_LIBRARY_PATH=/opt/intel/cmplrs/80.058/intel_cc_80/lib
13    
14 jgs 147 echo cd $1
15     cd $1
16     if [ $? != 0 ]
17     then
18     echo couldnt cd $1
19 jgs 149 echo "couldnt cd $1" | mail -s "esys autotest results" $MAIL_RECIPIENTS
20 jgs 147 exit 1
21     fi
22    
23     echo loading esys setup
24 svn 161 . ~jgs/bin/esys_setup
25 jgs 147 if [ $? != 0 ]
26     then
27     echo couldnt load esys setup
28 jgs 149 echo "couldnt load esys setup" | mail -s "esys autotest results" $MAIL_RECIPIENTS
29 jgs 147 exit 2
30     fi
31    
32 svn 161 echo running svn update
33     svn update
34 jgs 147 if [ $? != 0 ]
35     then
36 svn 161 echo svn update failed
37     echo "svn update failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
38 jgs 147 exit 3
39     fi
40    
41     echo running mk uninstall
42     ./mk uninstall
43     if [ $? != 0 ]
44     then
45     echo ./mk uninstall failed
46 jgs 149 echo "./mk uninstall failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
47 jgs 147 exit 4
48     fi
49    
50     echo running mk install
51     ./mk install DEBUG
52     if [ $? != 0 ]
53     then
54     echo ./mk install failed
55 jgs 149 echo "./mk install failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
56 svn 161 exit 5
57 jgs 147 fi
58    
59     echo running mk unit_test
60     ./mk unit_test
61     if [ $? != 0 ]
62     then
63     echo ./mk unit_test failed
64 jgs 149 echo "./mk unit_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
65 svn 161 exit 6
66 jgs 147 fi
67    
68     echo running mk py_test
69     ./mk py_test
70     if [ $? != 0 ]
71     then
72     echo ./mk py_test failed
73 jgs 149 echo "./mk py_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
74 svn 161 exit 7
75 jgs 147 fi
76    
77 jgs 149 echo "success" | mail -s "esys autotest results" $MAIL_RECIPIENTS
78 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