diff options
-rw-r--r-- | tools/test/h5diff/h5diff_plugin.sh.in | 12 | ||||
-rw-r--r-- | tools/test/h5dump/h5dump_plugin.sh.in | 3 | ||||
-rw-r--r-- | tools/test/h5ls/h5ls_plugin.sh.in | 3 |
3 files changed, 10 insertions, 8 deletions
diff --git a/tools/test/h5diff/h5diff_plugin.sh.in b/tools/test/h5diff/h5diff_plugin.sh.in index 80b827e..ffd2ea1 100644 --- a/tools/test/h5diff/h5diff_plugin.sh.in +++ b/tools/test/h5diff/h5diff_plugin.sh.in @@ -48,7 +48,7 @@ SRC_TOOLS="$srcdir/../.." # testfiles source dirs for tools SRC_H5DIFF_TESTFILES="$SRC_TOOLS/test/h5diff/testfiles" -TESTDIR=./testfiles +TESTDIR=./testplug test -d $TESTDIR || mkdir $TESTDIR ###################################################################### @@ -67,11 +67,6 @@ $SRC_H5DIFF_TESTFILES/h5diff_ud.txt $SRC_H5DIFF_TESTFILES/h5diff_udfail.txt " -# -# copy test files and expected output files from source dirs to test dir -# -COPY_TESTFILES="$LIST_HDF5_TEST_FILES" - # Main Body # Create test directories if not exists yet. test -d $PLUGIN_LIBDIR || mkdir -p $PLUGIN_LIBDIR @@ -90,6 +85,11 @@ fi # setup plugin path ENVCMD="env HDF5_PLUGIN_PATH=../${PLUGIN_LIBDIR}" +# +# copy test files and expected output files from source dirs to test dir +# +COPY_TESTFILES="$LIST_HDF5_TEST_FILES" + COPY_TESTFILES_TO_TESTDIR() { # copy test files. Used -f to make sure get a new copy diff --git a/tools/test/h5dump/h5dump_plugin.sh.in b/tools/test/h5dump/h5dump_plugin.sh.in index dbfc433..2c33d58 100644 --- a/tools/test/h5dump/h5dump_plugin.sh.in +++ b/tools/test/h5dump/h5dump_plugin.sh.in @@ -34,6 +34,7 @@ PLUGIN_LIB="$FROM_DIR/libdynlibdump.*" PLUGIN_LIBDIR=testdir3 RM='rm -rf' +RM='rm -rf' GREP='grep' CMP='cmp' DIFF='diff -c' @@ -49,7 +50,7 @@ SRC_TOOLS="$srcdir/../.." SRC_TOOLS_TESTFILES="$SRC_TOOLS/testfiles" SRC_H5DUMP_TESTFILES="$SRC_TOOLS_TESTFILES" -TESTDIR=./testfiles +TESTDIR=./testplug test -d $TESTDIR || mkdir $TESTDIR ###################################################################### diff --git a/tools/test/h5ls/h5ls_plugin.sh.in b/tools/test/h5ls/h5ls_plugin.sh.in index 1717161..3436071 100644 --- a/tools/test/h5ls/h5ls_plugin.sh.in +++ b/tools/test/h5ls/h5ls_plugin.sh.in @@ -34,6 +34,7 @@ PLUGIN_LIB="$FROM_DIR/libdynlibls.*" PLUGIN_LIBDIR=testdir3 RM='rm -rf' +RM='rm -rf' GREP='grep' CMP='cmp -s' DIFF='diff -c' @@ -49,7 +50,7 @@ SRC_TOOLS="$srcdir/../.." SRC_TOOLS_TESTFILES="$SRC_TOOLS/testfiles" SRC_H5LS_TESTFILES="$SRC_TOOLS_TESTFILES" -TESTDIR=./testfiles +TESTDIR=./testplug test -d $TESTDIR || mkdir $TESTDIR ###################################################################### |