/[escript]/branches/RW_WIN32/autotest
ViewVC logotype

Annotation of /branches/RW_WIN32/autotest

Parent Directory Parent Directory | Revision Log Revision Log


Revision 155 - (hide annotations)
Wed Nov 9 02:02:19 2005 UTC (13 years, 5 months ago) by jgs
Original Path: trunk/autotest
File size: 1891 byte(s)
move all directories from trunk/esys2 into trunk and remove esys2

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