From fb81baa62c9bc72b30c57cb10b7748b926917b62 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Mon, 16 Jun 2008 21:01:24 -0500 Subject: [svn-r15222] moved the h52jpeg testfiles location from /tools/testfiles to /tools/h52jpeg/testfiles updated the shell script accordingly tested: linux --- tools/h52jpeg/h52jpeg.sh | 12 ++---------- tools/h52jpeg/testfiles/h52jpegtst.h5 | Bin 0 -> 227613 bytes tools/testfiles/h52jpegtst.h5 | Bin 227613 -> 0 bytes 3 files changed, 2 insertions(+), 10 deletions(-) create mode 100644 tools/h52jpeg/testfiles/h52jpegtst.h5 delete mode 100644 tools/testfiles/h52jpegtst.h5 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/h52jpeg/testfiles/h52jpegtst.h5 b/tools/h52jpeg/testfiles/h52jpegtst.h5 new file mode 100644 index 0000000..39bded7 Binary files /dev/null and b/tools/h52jpeg/testfiles/h52jpegtst.h5 differ diff --git a/tools/testfiles/h52jpegtst.h5 b/tools/testfiles/h52jpegtst.h5 deleted file mode 100644 index 39bded7..0000000 Binary files a/tools/testfiles/h52jpegtst.h5 and /dev/null differ -- cgit v0.12