summaryrefslogtreecommitdiffstats
path: root/tools/h5jam/testh5jam.sh.in
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-08-28 19:11:34 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-08-28 19:11:34 (GMT)
commit612af6440b664bbd7888128ffacacb5cb9867b36 (patch)
tree38473f6e315f4aae607e3f1d23a50f55c5081fce /tools/h5jam/testh5jam.sh.in
parent0bc6398ec400c55b6ded5381d1c01bfb675589cb (diff)
downloadhdf5-612af6440b664bbd7888128ffacacb5cb9867b36.zip
hdf5-612af6440b664bbd7888128ffacacb5cb9867b36.tar.gz
hdf5-612af6440b664bbd7888128ffacacb5cb9867b36.tar.bz2
[svn-r22724] Convert tests to *.sh.in.
Convert configure.in to configure.ac. Align TESTS usage with autotools convention. Update all references from configure.in to configure.ac Tested: h5committest
Diffstat (limited to 'tools/h5jam/testh5jam.sh.in')
-rw-r--r--tools/h5jam/testh5jam.sh.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/h5jam/testh5jam.sh.in b/tools/h5jam/testh5jam.sh.in
index 29e02bd..b2c6bec 100644
--- a/tools/h5jam/testh5jam.sh.in
+++ b/tools/h5jam/testh5jam.sh.in
@@ -15,6 +15,8 @@
#
# Tests for the h5jam/h5unjam tools
+srcdir=@srcdir@
+
# Determine which filters are available
USE_FILTER_SZIP="@USE_FILTER_SZIP@"
USE_FILTER_DEFLATE="@USE_FILTER_DEFLATE@"
@@ -43,11 +45,6 @@ AWK='awk'
nerrors=0
verbose=yes
-# The build (current) directory might be different than the source directory.
-if test -z "$srcdir"; then
- srcdir=.
-fi
-
# source dirs
SRC_TOOLS="$srcdir/.."
SRC_TOOLS_TESTFILES="$SRC_TOOLS/testfiles"