[svn-r6827] Purpose:

added new test files for h5diff
bug fix

Description:
the criteria for determining the correct switch case cast to void* to type* was the data size read from disk.
this was causing problems on Cray T3E, where all integer except char are 8 bytes long

Solution:
changed the criteria for using the memory size instead, which is determined by the same function
that reads the data into memory

the messages " using memory NATIVE_TYPE_X" were  removed, because they might not coincid on different
platforms.

Platforms tested:
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)


Misc. update:
This commit is contained in:
Pedro Vicente Nunes
2003-05-07 17:28:09 -05:00
parent 1c37e0ba3d
commit 401c1bc318
71 changed files with 250 additions and 100 deletions

View File

@@ -5,6 +5,5 @@ $h5diff dset1.8 dset1.8 h5diff_test1.h5 h5diff_test2.h5
Comparing <dset1.8> with <dset1.8>
Warning: <dset1.8> has different storage datatype than <dset1.8>
<dset1.8> has datatype H5T_STD_I32BE and <dset1.8> has datatype H5T_STD_I32LE
using memory type H5T_NATIVE_INT
0 differences found