/[escript]/trunk/autotest
ViewVC logotype

Contents of /trunk/autotest

Parent Directory Parent Directory | Revision Log Revision Log


Revision 161 - (show 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 #!/bin/bash
2
3 # $Id$
4 # An explicit testing script for esys
5
6 # 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 MAIL_RECIPIENTS="jgs@esscc.uq.edu.au"
9
10 # 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 echo cd $1
15 cd $1
16 if [ $? != 0 ]
17 then
18 echo couldnt cd $1
19 echo "couldnt cd $1" | mail -s "esys autotest results" $MAIL_RECIPIENTS
20 exit 1
21 fi
22
23 echo loading esys setup
24 . ~jgs/bin/esys_setup
25 if [ $? != 0 ]
26 then
27 echo couldnt load esys setup
28 echo "couldnt load esys setup" | mail -s "esys autotest results" $MAIL_RECIPIENTS
29 exit 2
30 fi
31
32 echo running svn update
33 svn update
34 if [ $? != 0 ]
35 then
36 echo svn update failed
37 echo "svn update failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
38 exit 3
39 fi
40
41 echo running mk uninstall
42 ./mk uninstall
43 if [ $? != 0 ]
44 then
45 echo ./mk uninstall failed
46 echo "./mk uninstall failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
47 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 echo "./mk install failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
56 exit 5
57 fi
58
59 echo running mk unit_test
60 ./mk unit_test
61 if [ $? != 0 ]
62 then
63 echo ./mk unit_test failed
64 echo "./mk unit_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
65 exit 6
66 fi
67
68 echo running mk py_test
69 ./mk py_test
70 if [ $? != 0 ]
71 then
72 echo ./mk py_test failed
73 echo "./mk py_test failed" | mail -s "esys autotest results" $MAIL_RECIPIENTS
74 exit 7
75 fi
76
77 echo "success" | mail -s "esys autotest results" $MAIL_RECIPIENTS
78 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