summaryrefslogtreecommitdiffstats
path: root/test/test_usecases.sh.in
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2021-09-28 01:55:37 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2021-09-28 01:55:37 (GMT)
commitcd40809dde88ecb7cd97825e3522da928b3a1b03 (patch)
tree6fd7bebed5c1d47c8f3e4de5e26e4e24922ebede /test/test_usecases.sh.in
parente9d20fa03b244888029aaf67c426eba361d0891c (diff)
downloadhdf5-cd40809dde88ecb7cd97825e3522da928b3a1b03.zip
hdf5-cd40809dde88ecb7cd97825e3522da928b3a1b03.tar.gz
hdf5-cd40809dde88ecb7cd97825e3522da928b3a1b03.tar.bz2
Updated scripts to match changes on develop
Diffstat (limited to 'test/test_usecases.sh.in')
-rw-r--r--test/test_usecases.sh.in7
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=$?