summaryrefslogtreecommitdiffstats
path: root/tools/test/misc
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/misc
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/misc')
-rw-r--r--tools/test/misc/testh5clear.sh.in2
-rw-r--r--tools/test/misc/testh5mkgrp.sh.in2
-rw-r--r--tools/test/misc/testh5repart.sh.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/test/misc/testh5clear.sh.in b/tools/test/misc/testh5clear.sh.in
index b5bf5cc..2306d58 100644
--- a/tools/test/misc/testh5clear.sh.in
+++ b/tools/test/misc/testh5clear.sh.in
@@ -44,7 +44,7 @@ SRC_TOOLS="$srcdir/../.."
SRC_H5CLEAR_TESTFILES="$SRC_TOOLS/test/misc/testfiles"
SRC_H5CLEAR_OUTFILES="$SRC_TOOLS/test/misc/expected"
-TESTDIR=./testh5clear
+TESTDIR=./tmpclr
test -d $TESTDIR || mkdir -p $TESTDIR
######################################################################
diff --git a/tools/test/misc/testh5mkgrp.sh.in b/tools/test/misc/testh5mkgrp.sh.in
index 676f6b0..297f89f 100644
--- a/tools/test/misc/testh5mkgrp.sh.in
+++ b/tools/test/misc/testh5mkgrp.sh.in
@@ -43,7 +43,7 @@ SRC_TOOLS="$srcdir/../.."
SRC_H5MKGRP_TESTFILES="$SRC_TOOLS/test/misc/testfiles"
SRC_H5MKGRP_OUTFILES="$SRC_TOOLS/test/misc/expected"
-TESTDIR=./testgrp
+TESTDIR=./tmpmkg
test -d $TESTDIR || mkdir -p $TESTDIR
######################################################################
diff --git a/tools/test/misc/testh5repart.sh.in b/tools/test/misc/testh5repart.sh.in
index addd0db..e101b08 100644
--- a/tools/test/misc/testh5repart.sh.in
+++ b/tools/test/misc/testh5repart.sh.in
@@ -40,7 +40,7 @@ SRC_TOOLS="$srcdir/../.."
SRC_H5REPART_TESTFILES="$SRC_TOOLS/test/misc/testfiles"
-TESTDIR=./testrepart
+TESTDIR=./tmprp
test -d $TESTDIR || mkdir -p $TESTDIR
#