1280 |
fi |
fi |
1281 |
|
|
1282 |
# create the FORTRAN comparison code |
# create the FORTRAN comparison code |
1283 |
if test -x tr_cmpnum ; then |
if test "x$CLEANUP" = xt -o -x tr_cmpnum ; then |
1284 |
echo "skipping comparison code build" |
echo "skipping comparison code build" |
1285 |
else |
else |
1286 |
createcodelet |
createcodelet |
1296 |
# Create a uniquely named directory to store results |
# Create a uniquely named directory to store results |
1297 |
CMDLINE=$0 |
CMDLINE=$0 |
1298 |
for xx in "$@" ; do nw=`echo $xx | wc -w` |
for xx in "$@" ; do nw=`echo $xx | wc -w` |
1299 |
if test $nw = '1' ; then CMDLINE="$CMDLINE $xx" |
if test $nw = '1' ; then CMDLINE="$CMDLINE $xx" ; else |
1300 |
else CMDLINE="$CMDLINE '$xx'" ; fi |
nb=`echo $xx | grep -c '='` |
1301 |
|
if test $nb = 0 ; then CMDLINE="$CMDLINE '$xx'" |
1302 |
|
else yy=`echo "$xx'" | sed "s/=/='/"` ; |
1303 |
|
CMDLINE="$CMDLINE $yy" ; fi |
1304 |
|
fi |
1305 |
done |
done |
1306 |
#for xx in "$@" ; do CMDLINE="$CMDLINE '$xx'" ; done |
#for xx in "$@" ; do CMDLINE="$CMDLINE '$xx'" ; done |
1307 |
MACH=`hostname` |
MACH=`hostname` |
1348 |
echo >> $SUMMARY |
echo >> $SUMMARY |
1349 |
echo " OPTFILE=$OPTFILE" >> $SUMMARY |
echo " OPTFILE=$OPTFILE" >> $SUMMARY |
1350 |
else |
else |
1351 |
echo | tee $SUMMARY |
echo | tee -a $SUMMARY |
1352 |
echo "ERROR: can't read OPTFILE=\"$OPTFILE\"" | tee $SUMMARY |
echo "ERROR: can't read OPTFILE=\"$OPTFILE\"" | tee -a $SUMMARY |
1353 |
exit 1 |
exit 1 |
1354 |
fi |
fi |
1355 |
else |
else |
1388 |
line_4="2 d e n t r r" |
line_4="2 d e n t r r" |
1389 |
echo >> $SUMMARY |
echo >> $SUMMARY |
1390 |
fi |
fi |
1391 |
|
if test "x$CLEANUP" != xt ; then |
1392 |
echo "$line_0" | tee -a $SUMMARY |
echo "$line_0" | tee -a $SUMMARY |
1393 |
echo "$line_1" | tee -a $SUMMARY |
echo "$line_1" | tee -a $SUMMARY |
1394 |
echo "$line_2" | tee -a $SUMMARY |
echo "$line_2" | tee -a $SUMMARY |
1395 |
echo "$line_3" | tee -a $SUMMARY |
echo "$line_3" | tee -a $SUMMARY |
1396 |
echo "$line_4" | tee -a $SUMMARY |
echo "$line_4" | tee -a $SUMMARY |
1397 |
echo "" | tee -a $SUMMARY |
echo "" | tee -a $SUMMARY |
1398 |
|
fi |
1399 |
echo "-------------------------------------------------------------------------------" |
echo "-------------------------------------------------------------------------------" |
1400 |
|
|
1401 |
# ...and each test directory... |
# ...and each test directory... |
1700 |
if test "x$DELDIR" = xt ; then |
if test "x$DELDIR" = xt ; then |
1701 |
rm -rf $DRESULTS |
rm -rf $DRESULTS |
1702 |
fi |
fi |
1703 |
|
echo "======== End of testreport execution ========" |