diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-10-20 17:57:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-20 17:57:09 (GMT) |
commit | b5c63fb3fe6ee04b41d80368b406b5d45502ba00 (patch) | |
tree | e253a81461fa11533096795ee5064a827651325d /utils/tools/test/h5dwalk | |
parent | 630d6e27c956859ff5c0d7a61df3c095fbd7c86b (diff) | |
download | hdf5-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 'utils/tools/test/h5dwalk')
-rw-r--r-- | utils/tools/test/h5dwalk/copy_demo_files.sh.in | 2 | ||||
-rw-r--r-- | utils/tools/test/h5dwalk/testh5dwalk.sh.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/tools/test/h5dwalk/copy_demo_files.sh.in b/utils/tools/test/h5dwalk/copy_demo_files.sh.in index 02df202..8ccc5e8 100644 --- a/utils/tools/test/h5dwalk/copy_demo_files.sh.in +++ b/utils/tools/test/h5dwalk/copy_demo_files.sh.in @@ -30,7 +30,7 @@ exit_code=$EXIT_SUCCESS # Add Testing files into the local testfiles directory:: -TESTDIR=./testfiles +TESTDIR=./tmp test -d $TESTDIR || mkdir $TESTDIR echo "HDF5 \"$THIS_DIR/testfiles/h5diff_basic1.h5\" {" > "$THIS_DIR"/testfiles/h5diff_basic1.h5_h5dump.txt diff --git a/utils/tools/test/h5dwalk/testh5dwalk.sh.in b/utils/tools/test/h5dwalk/testh5dwalk.sh.in index a123f8d..694dad0 100644 --- a/utils/tools/test/h5dwalk/testh5dwalk.sh.in +++ b/utils/tools/test/h5dwalk/testh5dwalk.sh.in @@ -68,7 +68,7 @@ SRC_H5JAM_TESTFILES="$SRC_TOOLS/h5jam/testfiles" SRC_H5DWALK_TESTFILES="$SRC_TOOLS/h5dwalk/testfiles" SRC_H5IMPORT_TESTFILES="$SRC_TOOLS/h5import/testfiles" -TESTDIR=./testfiles +TESTDIR=./tmpdw test -d $TESTDIR || mkdir $TESTDIR echo "SRC_H5DIFF_TESTFILES = $SRC_H5DIFF_TESTFILES" |