| 67 |
done |
done |
| 68 |
|
|
| 69 |
echo -n "Creating a temp directory ..." |
echo -n "Creating a temp directory ..." |
| 70 |
cd ~/u3_edhill/testing |
cd /u/edhill/test_temp |
| 71 |
mach=`hostname` |
mach=`hostname` |
| 72 |
file=${OPTFILE##*/} |
file=${OPTFILE##*/} |
| 73 |
tdir=$mach"_"$file |
tdir=$mach"_"$file |
| 77 |
|
|
| 78 |
echo -n "Downloading the MITgcm code over CVS ..." |
echo -n "Downloading the MITgcm code over CVS ..." |
| 79 |
cd $tdir |
cd $tdir |
| 80 |
export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
export CVSROOT='/u/gcmpack' |
| 81 |
cvs co MITgcm > /dev/null 2>&1 |
cvs co MITgcm > /dev/null 2>&1 |
| 82 |
echo " done" |
echo " done" |
| 83 |
|
|
| 84 |
echo "Running testreport using:" |
echo "Running testreport using:" |
| 85 |
cd MITgcm/verification |
cd MITgcm/verification |
| 86 |
comm="./testreport $IEEE -a edhill@mitgcm.org" |
comm="./testreport $IEEE -a edhill@mitgcm.org" | tail -100 |
| 87 |
if test "x$OPTFILE" != x ; then |
if test "x$OPTFILE" != x ; then |
| 88 |
comm="$comm -of=$OPTFILE" |
comm="$comm -of=$OPTFILE" |
| 89 |
fi |
fi |
| 90 |
echo " \"$comm\"" |
echo " \"$comm\"" |
| 91 |
echo "======================" |
echo "======================" |
| 92 |
echo |
echo |
| 93 |
$comm |
$comm |
| 94 |
|
|
| 95 |
|
echo |
| 96 |
|
echo "======================" |
| 97 |
|
echo "Cleaning test directories:" |
| 98 |
|
./testreport -clean > /dev/null 2>&1 |
| 99 |
|
echo "======================" |
| 100 |
|
echo |
| 101 |
|
|
| 102 |
|
echo "Running testreport using:" |
| 103 |
|
comm="./testreport -adm $IEEE -a edhill@mitgcm.org" |
| 104 |
|
if test "x$OPTFILE" != x ; then |
| 105 |
|
comm="$comm -of=$OPTFILE" |
| 106 |
|
fi |
| 107 |
|
echo " \"$comm\"" |
| 108 |
|
echo "======================" |
| 109 |
|
echo |
| 110 |
|
$comm |
| 111 |
|
|