summaryrefslogtreecommitdiffstats
path: root/tools/test/h5diff
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-10-20 17:57:09 (GMT)
committerGitHub <noreply@github.com>2023-10-20 17:57:09 (GMT)
commitb5c63fb3fe6ee04b41d80368b406b5d45502ba00 (patch)
treee253a81461fa11533096795ee5064a827651325d /tools/test/h5diff
parent630d6e27c956859ff5c0d7a61df3c095fbd7c86b (diff)
downloadhdf5-b5c63fb3fe6ee04b41d80368b406b5d45502ba00.zip
hdf5-b5c63fb3fe6ee04b41d80368b406b5d45502ba00.tar.gz
hdf5-b5c63fb3fe6ee04b41d80368b406b5d45502ba00.tar.bz2
Test scripts now execute in-source with creation of tmp dir (#3723)
Fixes a few issues created in #3580: * Fixes a problem where committed tools test files were deleted when cleaning after an in-source build * Fixes issues with test file paths in Autotools tools test scripts
Diffstat (limited to 'tools/test/h5diff')
-rw-r--r--tools/test/h5diff/h5diff_plugin.sh.in2
-rw-r--r--tools/test/h5diff/testh5diff.sh.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5diff/h5diff_plugin.sh.in b/tools/test/h5diff/h5diff_plugin.sh.in
index 525503d..f6783af 100644
--- a/tools/test/h5diff/h5diff_plugin.sh.in
+++ b/tools/test/h5diff/h5diff_plugin.sh.in
@@ -47,7 +47,7 @@ SRC_TOOLS="$srcdir/../.."
SRC_H5DIFF_TESTFILES="$SRC_TOOLS/test/h5diff/testfiles"
SRC_H5DIFF_OUTFILES="$SRC_TOOLS/test/h5diff/expected"
-TESTDIR=./testplug
+TESTDIR=./tmppl
test -d $TESTDIR || mkdir $TESTDIR
######################################################################
diff --git a/tools/test/h5diff/testh5diff.sh.in b/tools/test/h5diff/testh5diff.sh.in
index efaac2e..1378f07 100644
--- a/tools/test/h5diff/testh5diff.sh.in
+++ b/tools/test/h5diff/testh5diff.sh.in
@@ -49,7 +49,7 @@ SRC_H5STAT_TESTFILES="$SRC_TOOLS/test/h5stat/testfiles"
SRC_H5IMPORT_TESTFILES="$SRC_TOOLS/test/h5import/testfiles"
SRC_H5DIFF_OUTFILES="$SRC_TOOLS/test/h5diff/expected"
-TESTDIR=./testfiles
+TESTDIR=./tmp
test -d $TESTDIR || mkdir $TESTDIR
######################################################################