summaryrefslogtreecommitdiffstats
path: root/tools/misc/testh5repart.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/misc/testh5repart.sh.in')
-rw-r--r--tools/misc/testh5repart.sh.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/misc/testh5repart.sh.in b/tools/misc/testh5repart.sh.in
index 7d4e020..fc33e0e 100644
--- a/tools/misc/testh5repart.sh.in
+++ b/tools/misc/testh5repart.sh.in
@@ -15,6 +15,8 @@
#
# Tests for the h5repart tool
+srcdir=@srcdir@
+
TESTNAME=h5repart
EXIT_SUCCESS=0
EXIT_FAILURE=1
@@ -28,11 +30,6 @@ REPARTED_FAM_BIN=`pwd`/$REPARTED_FAM # The path of the test binary
nerrors=0
verbose=yes
-# The build (current) directory might be different than the source directory.
-if test -z "$srcdir"; then
- srcdir=.
-fi
-
test -d ../testfiles || mkdir ../testfiles
actual_dir=`pwd`/../testfiles