315 |
return 0 |
return 0 |
316 |
else |
else |
317 |
echo |
echo |
318 |
echo "createcodelet: failed to compile codelet" | tee |
echo "createcodelet: failed to compile codelet" |
319 |
exit 1 |
exit 1 |
320 |
fi |
fi |
321 |
} |
} |
505 |
|
|
506 |
# ...and each test directory... |
# ...and each test directory... |
507 |
for dir in $TESTDIRS ; do |
for dir in $TESTDIRS ; do |
508 |
|
|
509 |
|
# Verify that the testdir exists and contains previous |
510 |
|
# results in the correct location--or skip this directory! |
511 |
|
if test ! -r $dir"/results/output.txt" ; then |
512 |
|
echo | tee -a $SUMMARY |
513 |
|
echo "can't read \"$dir/results/output.txt\" -- skipping $dir" \ |
514 |
|
| tee -a $SUMMARY |
515 |
|
continue |
516 |
|
fi |
517 |
|
|
518 |
# Create an output dir for each OPTFILE/tdir combination |
# Create an output dir for each OPTFILE/tdir combination |
519 |
CDIR=$DRESULTS"/"$DRESULTS"_"$NDIR |
CDIR=$DRESULTS"/"$DRESULTS"_"$NDIR |
539 |
rundir=input |
rundir=input |
540 |
fi |
fi |
541 |
|
|
|
# Verify that the testdir exists and contains previous |
|
|
# results in the correct location--or skip this directory! |
|
|
if test ! -r $dir"/results/output.txt" ; then |
|
|
echo | tee $SUMMARY |
|
|
echo "can't read \"$dir/results/output.txt\" -- skipping $dir" \ |
|
|
| tee $SUMMARY |
|
|
continue |
|
|
fi |
|
|
|
|
542 |
genmakemodel $dir/$builddir && genmake=Y \ |
genmakemodel $dir/$builddir && genmake=Y \ |
543 |
&& makeclean $dir/$builddir \ |
&& makeclean $dir/$builddir \ |
544 |
&& makedependmodel $dir/$builddir && makedepend=Y \ |
&& makedependmodel $dir/$builddir && makedepend=Y \ |