416 |
expts='' |
expts='' |
417 |
# ieee=1 |
# ieee=1 |
418 |
|
|
|
QUICK=f |
|
419 |
CLEANUP=f |
CLEANUP=f |
420 |
|
QUICK=f |
421 |
NOGENMAKE=f |
NOGENMAKE=f |
422 |
NOCLEAN=f |
NOCLEAN=f |
423 |
NODEPEND=f |
NODEPEND=f |
428 |
TESTDIRS= |
TESTDIRS= |
429 |
MPACKDIR="../tools/mpack-1.6" |
MPACKDIR="../tools/mpack-1.6" |
430 |
MPACK="$MPACKDIR/mpack" |
MPACK="$MPACKDIR/mpack" |
431 |
COMMAND="rm -f output.txt; make output.txt" |
COMMAND="make output.txt" |
432 |
MAKE=make |
MAKE=make |
433 |
MPI=f |
MPI=f |
434 |
|
|
481 |
-make=* | --make=*) |
-make=* | --make=*) |
482 |
MAKE=$ac_optarg ;; |
MAKE=$ac_optarg ;; |
483 |
|
|
484 |
|
-clean | --clean | -c | --c) |
485 |
|
CLEANUP=t ;; |
486 |
|
|
487 |
-quick | --quick | -q | --q) |
-quick | --quick | -q | --q) |
488 |
QUICK=t ;; |
QUICK=t ;; |
489 |
-nogenmake | --nogenmake | -ng | --ng) |
-nogenmake | --nogenmake | -ng | --ng) |
586 |
# ...and each test directory... |
# ...and each test directory... |
587 |
for dir in $TESTDIRS ; do |
for dir in $TESTDIRS ; do |
588 |
|
|
589 |
|
# Cleanup only! |
590 |
|
if test "x$CLEANUP" = xt ; then |
591 |
|
if test -r $dir/build/Makefile ; then |
592 |
|
( cd $dir/build ; make CLEAN ) |
593 |
|
fi |
594 |
|
if test -r $dir/input/Makefile ; then |
595 |
|
( cd $dir/input ; make CLEAN ) |
596 |
|
fi |
597 |
|
continue |
598 |
|
fi |
599 |
|
|
600 |
# Verify that the testdir exists and contains previous |
# Verify that the testdir exists and contains previous |
601 |
# results in the correct location--or skip this directory! |
# results in the correct location--or skip this directory! |
602 |
if test ! -r $dir"/results/output.txt" ; then |
if test ! -r $dir"/results/output.txt" ; then |
614 |
| tee -a $SUMMARY |
| tee -a $SUMMARY |
615 |
continue |
continue |
616 |
else |
else |
617 |
cp $dir"/code/CPP_EEOPTIONS.h_mpi" $dir"/code/CPP_EEOPTIONS.h" |
cmp $dir"/code/CPP_EEOPTIONS.h_mpi" $dir"/code/CPP_EEOPTIONS.h" |
618 |
cp $dir"/code/SIZE.h_mpi" $dir"/code/SIZE.h" |
RETVAL=$? |
619 |
|
if test "x$RETVAL" != x0 ; then |
620 |
|
cp $dir"/code/CPP_EEOPTIONS.h_mpi" $dir"/code/CPP_EEOPTIONS.h" |
621 |
|
fi |
622 |
|
cmp $dir"/code/SIZE.h_mpi" $dir"/code/SIZE.h" |
623 |
|
RETVAL=$? |
624 |
|
if test "x$RETVAL" != x0 ; then |
625 |
|
cp $dir"/code/SIZE.h_mpi" $dir"/code/SIZE.h" |
626 |
|
fi |
627 |
fi |
fi |
628 |
else |
else |
629 |
if test -r $dir"/code/CPP_EEOPTIONS.h_nompi" ; then |
if test -r $dir"/code/CPP_EEOPTIONS.h_nompi" ; then |
630 |
cp $dir"/code/CPP_EEOPTIONS.h_nompi" $dir"/code/CPP_EEOPTIONS.h" |
cmp $dir"/code/CPP_EEOPTIONS.h_nompi" $dir"/code/CPP_EEOPTIONS.h" |
631 |
|
RETVAL=$? |
632 |
|
if test "x$RETVAL" != x0 ; then |
633 |
|
cp $dir"/code/CPP_EEOPTIONS.h_nompi" $dir"/code/CPP_EEOPTIONS.h" |
634 |
|
fi |
635 |
fi |
fi |
636 |
if test -r $dir"/code/SIZE.h_nompi" ; then |
if test -r $dir"/code/SIZE.h_nompi" ; then |
637 |
cp $dir"/code/SIZE.h_nompi" $dir"/code/SIZE.h" |
cmp $dir"/code/SIZE.h_nompi" $dir"/code/SIZE.h" |
638 |
|
RETVAL=$? |
639 |
|
if test "x$RETVAL" != x0 ; then |
640 |
|
cp $dir"/code/SIZE.h_nompi" $dir"/code/SIZE.h" |
641 |
|
fi |
642 |
fi |
fi |
643 |
fi |
fi |
644 |
|
|