56 |
( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean ) |
( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean ) |
57 |
echo "cvs update of dir $gcmDIR :" |
echo "cvs update of dir $gcmDIR :" |
58 |
( cd $gcmDIR ; cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack update -P -d ) 2>&1 |
( cd $gcmDIR ; cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack update -P -d ) 2>&1 |
59 |
|
RETVAL=$? |
60 |
|
if test "x$RETVAL" != x0 ; then |
61 |
|
echo " cvs update fail (return val=$RETVAL) => exit" |
62 |
|
exit |
63 |
|
fi |
64 |
else |
else |
65 |
echo "no dir: $gcmDIR/CVS => try a fresh check-out" |
echo "no dir: $gcmDIR/CVS => try a fresh check-out" |
66 |
checkOut=2 |
checkOut=2 |
74 |
cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1 |
cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1 |
75 |
/usr/bin/find $gcmDIR -type d | xargs chmod g+rxs |
/usr/bin/find $gcmDIR -type d | xargs chmod g+rxs |
76 |
/usr/bin/find $gcmDIR -type f | xargs chmod g+r |
/usr/bin/find $gcmDIR -type f | xargs chmod g+r |
77 |
|
fi |
78 |
|
|
79 |
|
#- change dir to $gcmDIR/verification dir: |
80 |
|
if test -e $gcmDIR/verification ; then |
81 |
|
if [ $checkOut -lt 2 ] ; then |
82 |
|
echo " dir $gcmDIR/verification exist" ; fi |
83 |
|
cd $gcmDIR/verification |
84 |
else |
else |
85 |
if test -e $gcmDIR/verification ; then |
echo "no dir $gcmDIR/verification => exit" |
86 |
echo "dir $gcmDIR/verification exist" |
exit |
|
else |
|
|
echo "no dir $gcmDIR/verification => exit" |
|
|
exit |
|
|
fi |
|
87 |
fi |
fi |
88 |
|
|
|
cd $gcmDIR/verification |
|
89 |
echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir aces-$sfx |
echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir aces-$sfx |
90 |
./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx |
./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx |
91 |
|
|