From a45d0d96a2a87680f9eed7fc28d0c588b9050c20 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Sun, 13 Jun 1999 19:39:25 -0500 Subject: [svn-r1336] h5toh4 test script used to compare the output of hdp applied on the generanted hdf files against saved output of hdp. This did not work well because whenever the hdp changes its output format, the tests failed unnecessarily. The tests also failed if the test machine uses a different version of HDF library from the HDF5 development machine. Changed the algorithm to compare the generated HDF files against saved HDF files (first by a simple cmp; if that fails, compare the output of the host machine's hdp on both HDF files.) Saved HDF files are stored in testfiles/Expected. Tested on Hawkwind (FreeBSD) with srcdir option and Baldric (Solaris) without srcdir option. --- tools/testfiles/Expected/tall.hdf | Bin 0 -> 2969 bytes tools/testfiles/Expected/tattr.hdf | Bin 0 -> 783 bytes tools/testfiles/Expected/tcompound.hdf | Bin 0 -> 875 bytes tools/testfiles/Expected/tcompound2.hdf | Bin 0 -> 915 bytes tools/testfiles/Expected/tdset.hdf | Bin 0 -> 6747 bytes tools/testfiles/Expected/tdset2.hdf | Bin 0 -> 8943 bytes tools/testfiles/Expected/tgroup.hdf | Bin 0 -> 666 bytes tools/testfiles/Expected/thlink.hdf | Bin 0 -> 619 bytes tools/testfiles/Expected/tloop.hdf | Bin 0 -> 375 bytes tools/testfiles/Expected/tmany.hdf | Bin 0 -> 4680 bytes tools/testfiles/Expected/tslink.hdf | Bin 0 -> 315 bytes tools/testfiles/Expected/tstr.hdf | Bin 0 -> 1429 bytes tools/testfiles/Expected/tstr2.hdf | Bin 0 -> 4103 bytes 13 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tools/testfiles/Expected/tall.hdf create mode 100644 tools/testfiles/Expected/tattr.hdf create mode 100644 tools/testfiles/Expected/tcompound.hdf create mode 100644 tools/testfiles/Expected/tcompound2.hdf create mode 100644 tools/testfiles/Expected/tdset.hdf create mode 100644 tools/testfiles/Expected/tdset2.hdf create mode 100644 tools/testfiles/Expected/tgroup.hdf create mode 100644 tools/testfiles/Expected/thlink.hdf create mode 100644 tools/testfiles/Expected/tloop.hdf create mode 100644 tools/testfiles/Expected/tmany.hdf create mode 100644 tools/testfiles/Expected/tslink.hdf create mode 100644 tools/testfiles/Expected/tstr.hdf create mode 100644 tools/testfiles/Expected/tstr2.hdf diff --git a/tools/testfiles/Expected/tall.hdf b/tools/testfiles/Expected/tall.hdf new file mode 100644 index 0000000..d4b8783 Binary files /dev/null and b/tools/testfiles/Expected/tall.hdf differ diff --git a/tools/testfiles/Expected/tattr.hdf b/tools/testfiles/Expected/tattr.hdf new file mode 100644 index 0000000..cf1519a Binary files /dev/null and b/tools/testfiles/Expected/tattr.hdf differ diff --git a/tools/testfiles/Expected/tcompound.hdf b/tools/testfiles/Expected/tcompound.hdf new file mode 100644 index 0000000..55336ee Binary files /dev/null and b/tools/testfiles/Expected/tcompound.hdf differ diff --git a/tools/testfiles/Expected/tcompound2.hdf b/tools/testfiles/Expected/tcompound2.hdf new file mode 100644 index 0000000..c0c5191 Binary files /dev/null and b/tools/testfiles/Expected/tcompound2.hdf differ diff --git a/tools/testfiles/Expected/tdset.hdf b/tools/testfiles/Expected/tdset.hdf new file mode 100644 index 0000000..6eaf4ef Binary files /dev/null and b/tools/testfiles/Expected/tdset.hdf differ diff --git a/tools/testfiles/Expected/tdset2.hdf b/tools/testfiles/Expected/tdset2.hdf new file mode 100644 index 0000000..2005d79 Binary files /dev/null and b/tools/testfiles/Expected/tdset2.hdf differ diff --git a/tools/testfiles/Expected/tgroup.hdf b/tools/testfiles/Expected/tgroup.hdf new file mode 100644 index 0000000..88a8232 Binary files /dev/null and b/tools/testfiles/Expected/tgroup.hdf differ diff --git a/tools/testfiles/Expected/thlink.hdf b/tools/testfiles/Expected/thlink.hdf new file mode 100644 index 0000000..a54ed0a Binary files /dev/null and b/tools/testfiles/Expected/thlink.hdf differ diff --git a/tools/testfiles/Expected/tloop.hdf b/tools/testfiles/Expected/tloop.hdf new file mode 100644 index 0000000..862d37e Binary files /dev/null and b/tools/testfiles/Expected/tloop.hdf differ diff --git a/tools/testfiles/Expected/tmany.hdf b/tools/testfiles/Expected/tmany.hdf new file mode 100644 index 0000000..eb81862 Binary files /dev/null and b/tools/testfiles/Expected/tmany.hdf differ diff --git a/tools/testfiles/Expected/tslink.hdf b/tools/testfiles/Expected/tslink.hdf new file mode 100644 index 0000000..bb1ae97 Binary files /dev/null and b/tools/testfiles/Expected/tslink.hdf differ diff --git a/tools/testfiles/Expected/tstr.hdf b/tools/testfiles/Expected/tstr.hdf new file mode 100644 index 0000000..90b5694 Binary files /dev/null and b/tools/testfiles/Expected/tstr.hdf differ diff --git a/tools/testfiles/Expected/tstr2.hdf b/tools/testfiles/Expected/tstr2.hdf new file mode 100644 index 0000000..05328a0 Binary files /dev/null and b/tools/testfiles/Expected/tstr2.hdf differ -- cgit v0.12