diff options
Diffstat (limited to 'test/test_usecases.sh.in')
-rw-r--r-- | test/test_usecases.sh.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/test_usecases.sh.in b/test/test_usecases.sh.in index 5c7d46b..7ba5583 100644 --- a/test/test_usecases.sh.in +++ b/test/test_usecases.sh.in @@ -29,6 +29,11 @@ if test -z "$bindir"; then bindir=. fi +# If the testdir directory is not set just use current (.). +if test -z "$testdir"; then + testdir=. +fi + # Check to see if the VFD specified by the HDF5_DRIVER environment variable # supports SWMR. ../utils/swmr_compat_vfd @@ -91,7 +96,7 @@ TOOLTEST() { # Run test. TESTING $program $@ ( - $RUNSERIAL $bindir/$program "$@" + $RUNSERIAL $testdir/$program "$@" ) >$actual 2>$actual_err exit_code=$? |