summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/testfiles
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2011-05-05 19:37:19 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2011-05-05 19:37:19 (GMT)
commit42301788bc99aee17a6d212dc5bcc72f875e57ee (patch)
tree8fb2b764a93f0003096ec32af0fadc59a8cec3e5 /tools/h5diff/testfiles
parent84effee753eb5aeacfd786bb5ef146f62226e5fe (diff)
downloadhdf5-42301788bc99aee17a6d212dc5bcc72f875e57ee.zip
hdf5-42301788bc99aee17a6d212dc5bcc72f875e57ee.tar.gz
hdf5-42301788bc99aee17a6d212dc5bcc72f875e57ee.tar.bz2
[svn-r20756] Fixes h5diff test failure on BE systems.
H5Dread() produces different output for invalid enum type values on systems of different endiannes. On BE systems, it always emits -1. On LE systems, the invalid value is emitted. This difference caused the h5diff test to fail since it tests to see if different invalid enum values are reported as different (on BE systems they are not since -1 == -1). This fix removes the "invalid vs. different invalid" test while we fix the library bug. HDFFV-7527 will be reopened in JIRA until the full test passes. Tested on: jam, heiwa, linew
Diffstat (limited to 'tools/h5diff/testfiles')
-rw-r--r--tools/h5diff/testfiles/h5diff_30.txt3
-rwxr-xr-xtools/h5diff/testfiles/h5diff_enum_invalid_values.h5bin2192 -> 2192 bytes
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/h5diff/testfiles/h5diff_30.txt b/tools/h5diff/testfiles/h5diff_30.txt
index cd5b3f9..187589a 100644
--- a/tools/h5diff/testfiles/h5diff_30.txt
+++ b/tools/h5diff/testfiles/h5diff_30.txt
@@ -4,7 +4,6 @@ position dset1 dset2 difference
------------------------------------------------------------
[ 1 ] YIN **INVALID VALUE**
[ 2 ] **INVALID VALUE** YIN
-[ 4 ] **INVALID VALUE** **INVALID VALUE**
[ 5 ] YIN YANG
-4 differences found
+3 differences found
EXIT CODE: 1
diff --git a/tools/h5diff/testfiles/h5diff_enum_invalid_values.h5 b/tools/h5diff/testfiles/h5diff_enum_invalid_values.h5
index 9dc55f7..dd02db9 100755
--- a/tools/h5diff/testfiles/h5diff_enum_invalid_values.h5
+++ b/tools/h5diff/testfiles/h5diff_enum_invalid_values.h5
Binary files differ