534 |
mk_fail=2 |
mk_fail=2 |
535 |
fi |
fi |
536 |
fi |
fi |
537 |
|
if test $KIND = 1 -a -f taf_ftl.log ; then |
538 |
|
head -1 taf_ftl.log >> $CDIR"/summary.txt" |
539 |
|
fi |
540 |
if test $KIND = 2 -a -f taf_ad.log ; then |
if test $KIND = 2 -a -f taf_ad.log ; then |
541 |
head -1 taf_ad.log >> $CDIR"/summary.txt" |
head -1 taf_ad.log >> $CDIR"/summary.txt" |
542 |
nerr=`grep -c 'TAF *.* ERROR ' taf_ad.log` |
nerr=`grep -c 'TAF *.* ERROR ' taf_ad.log` |
805 |
fi |
fi |
806 |
fi |
fi |
807 |
rm -f run.log_tmp |
rm -f run.log_tmp |
808 |
#- in all cases where OutputFile exists, report SIZE (and AD time) |
#- in all cases where OutputFile exists, report SIZE and time |
809 |
if test -f $OUTPUTFILE ; then |
if test -f $OUTPUTFILE ; then |
810 |
grep '(PID\.TID 0000\.0001) n.. =' $OUTPUTFILE \ |
grep '(PID\.TID 0000\.0001) n.. =' $OUTPUTFILE \ |
811 |
| sed 's/(PID.TID 0000.0001) //' >> $CDIR"/summary.txt" |
| sed 's/(PID.TID 0000.0001) //' >> $CDIR"/summary.txt" |
812 |
if test $KIND = 2 ; then |
grep -A3 'Seconds in section "ALL' $OUTPUTFILE \ |
813 |
grep -A3 'Seconds in section "ALL' $OUTPUTFILE >> $CDIR"/summary.txt" |
| sed 's/(PID.TID 0000.0001) //' >> $CDIR"/summary.txt" |
|
fi |
|
814 |
fi |
fi |
815 |
if test -s STDERR.0000 ; then cp STDERR.0000 $CDIR"/STDERR.0000" ; fi |
if test -s STDERR.0000 ; then cp STDERR.0000 $CDIR"/STDERR.0000" ; fi |
816 |
if [ $RETVAL -eq 0 -a $ENDVAL -gt 0 ] ; then |
if [ $RETVAL -eq 0 -a $ENDVAL -gt 0 ] ; then |
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 |
1344 |
echo >> $SUMMARY |
echo >> $SUMMARY |
1345 |
echo " OPTFILE=$OPTFILE" >> $SUMMARY |
echo " OPTFILE=$OPTFILE" >> $SUMMARY |
1346 |
else |
else |
1347 |
echo | tee $SUMMARY |
echo | tee -a $SUMMARY |
1348 |
echo "ERROR: can't read OPTFILE=\"$OPTFILE\"" | tee $SUMMARY |
echo "ERROR: can't read OPTFILE=\"$OPTFILE\"" | tee -a $SUMMARY |
1349 |
exit 1 |
exit 1 |
1350 |
fi |
fi |
1351 |
else |
else |
1384 |
line_4="2 d e n t r r" |
line_4="2 d e n t r r" |
1385 |
echo >> $SUMMARY |
echo >> $SUMMARY |
1386 |
fi |
fi |
1387 |
|
if test "x$CLEANUP" != xt ; then |
1388 |
echo "$line_0" | tee -a $SUMMARY |
echo "$line_0" | tee -a $SUMMARY |
1389 |
echo "$line_1" | tee -a $SUMMARY |
echo "$line_1" | tee -a $SUMMARY |
1390 |
echo "$line_2" | tee -a $SUMMARY |
echo "$line_2" | tee -a $SUMMARY |
1391 |
echo "$line_3" | tee -a $SUMMARY |
echo "$line_3" | tee -a $SUMMARY |
1392 |
echo "$line_4" | tee -a $SUMMARY |
echo "$line_4" | tee -a $SUMMARY |
1393 |
echo "" | tee -a $SUMMARY |
echo "" | tee -a $SUMMARY |
1394 |
|
fi |
1395 |
echo "-------------------------------------------------------------------------------" |
echo "-------------------------------------------------------------------------------" |
1396 |
|
|
1397 |
# ...and each test directory... |
# ...and each test directory... |
1696 |
if test "x$DELDIR" = xt ; then |
if test "x$DELDIR" = xt ; then |
1697 |
rm -rf $DRESULTS |
rm -rf $DRESULTS |
1698 |
fi |
fi |
1699 |
|
echo "======== End of testreport execution ========" |