summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-06-17 02:01:24 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-06-17 02:01:24 (GMT)
commitfb81baa62c9bc72b30c57cb10b7748b926917b62 (patch)
treea319dc13539ca3ca093f1ebcab4fdfe4011acbfc
parente5f8c52f06028243a8d01e669a731fc08a62ef71 (diff)
downloadhdf5-fb81baa62c9bc72b30c57cb10b7748b926917b62.zip
hdf5-fb81baa62c9bc72b30c57cb10b7748b926917b62.tar.gz
hdf5-fb81baa62c9bc72b30c57cb10b7748b926917b62.tar.bz2
[svn-r15222] moved the h52jpeg testfiles location from /tools/testfiles to /tools/h52jpeg/testfiles
updated the shell script accordingly tested: linux
-rw-r--r--tools/h52jpeg/h52jpeg.sh12
-rw-r--r--tools/h52jpeg/testfiles/h52jpegtst.h5 (renamed from tools/testfiles/h52jpegtst.h5)bin227613 -> 227613 bytes
2 files changed, 2 insertions, 10 deletions
diff --git a/tools/h52jpeg/h52jpeg.sh b/tools/h52jpeg/h52jpeg.sh
index 0901cd2..a333084 100644
--- a/tools/h52jpeg/h52jpeg.sh
+++ b/tools/h52jpeg/h52jpeg.sh
@@ -20,19 +20,10 @@ TOOL=h52jpeg # The tool name
TOOL_BIN=`pwd`/$TOOL # The path of the tool binary
SRCFILE=h52jpegtst.h5
-INDIR=$srcdir/../testfiles
+INDIR=$srcdir/testfiles
TESTFILE="$INDIR/$SRCFILE"
-CMP='cmp -s'
-DIFF='diff -c'
-
nerrors=0
-verbose=yes
-
-# The build (current) directory might be different than the source directory.
-if test -z "$srcdir"; then
- srcdir=.
-fi
# Print a line-line message left justified in a field of 70 characters
@@ -44,6 +35,7 @@ TESTING() {
}
# Just call the tool binary with the command line parameters
+# and use the return value of main to print FAILED or PASSED
#
TOOLTEST()
{
diff --git a/tools/testfiles/h52jpegtst.h5 b/tools/h52jpeg/testfiles/h52jpegtst.h5
index 39bded7..39bded7 100644
--- a/tools/testfiles/h52jpegtst.h5
+++ b/tools/h52jpeg/testfiles/h52jpegtst.h5
Binary files differ