Commit Graph

25 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
4cb6c01d7f [svn-r8904] Purpose:
h5diff and h5repack changes

Description:
h5diff
introduced the following four modes of output:
 Normal mode: print the number of differences found and where they occured
  Report mode: print the above plus the differences
   Verbose mode: print the above plus a list of objects and warnings
    Quiet mode: do not print output (h5diff always returns an exit code of 1 when differences are found)

    h5repack
     added an extra parameter for SZIP filter (coding method)
     the new syntax is
     -f SZIP=<pixels per block,coding>
     (pixels per block is a even number in 2-32 and coding method is 'EC' or 'NN')
     Example of use:
     ./h5repack -i file1 -o file2 -f SZIP=8,NN -v

     updated usage messages, test scripts and files accordingly




Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-07-20 14:21:03 -05:00
Raymond Lu
8ea1793569 [svn-r8578] Purpose: new test
Description:  Add null dataspace test for dataset and attribute to h5diff


Platforms tested:  RH 8(fuss).  Simple change, only h5diff is involved.
2004-05-26 10:46:19 -05:00
Pedro Vicente Nunes
8eb5f818ba [svn-r8286] Purpose:
bug fix continuation

Description:
the atof return value on a hexadecimal input is different
 on some systems; before checking for the atof return value
 do  a character check for the first 2 characters of the string input



Solution:

Platforms tested:
linux
solaris

Misc. update:
2004-03-29 11:53:52 -05:00
Pedro Vicente Nunes
2e44c48936 [svn-r8283] Purpose:
bug fix (sort of)

Description:
apparently linux and other systems (solaris) return a different value from atof if the
argument is in  hexadecimal .
this return value was used to test if the argument to -p and -d was a valid floating point
number
for now , commented the calls in the script with -p <hexa> until we find a portable solution

Solution:

Platforms tested:
linux
solaris
windows

Misc. update:
2004-03-26 11:20:48 -05:00
Pedro Vicente Nunes
486c13d307 [svn-r7904] Purpose:
h5diff new features

Description:
added comparison for attributes
adeded comparison for all dataset datatypes
added tests for the new features
changed the output format

Solution:

Platforms tested:
linux
solaris 5.7
IRIX 6.5 (64)

Misc. update:
2003-12-02 18:13:27 -05:00
Pedro Vicente Nunes
8b45b9a5f0 [svn-r7785] Purpose:
h5repack new features


Description:
added a copy routine for all types
added a copy routine for attributes
commnented some debug messages in h5trav
added the verbose option to some h5diff messages


Platforms tested:
linux
solaris 2.5
IRIX


Misc. update:
2003-10-29 12:46:11 -05:00
Pedro Vicente Nunes
614490a83a [svn-r6928] Purpose:
h5diff support for long_long

Description:
added h5diff support for long_long;

No automatic test was added because
it seems that the printf format of long_long is  slightly different in Linux and IRIX(modi4),
because the diff command complained about a difference in the 2 test files for long_long;
visually, it seems that in IRIX an extra space is added after the print (or maybe it is
just me that is seeing extra spaces :=)
this test is test 5.8,  commented in testh5diff.sh





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




Misc. update:
2003-05-30 17:38:46 -05:00
Pedro Vicente Nunes
4eb8aa7d83 [svn-r6925] Purpose:
bug fix

Description:
the signed / unsigned comparison was not properly handled.
the fixtype function sets the sign for the memory type the same sign as found on disk
and the array_diff function only handled signed cases

Solution:
addded for each INTEGER size type an OR condition with the unsigned version
if the datatypes have different signs , comparison is NOT supported


Platforms tested:

Windows 2000 (octopus)
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)


Misc. update:
2003-05-29 16:53:46 -05:00
Pedro Vicente Nunes
68caabdfd5 [svn-r6911] Purpose:
made the test file to compare be created if it does not exist

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-22 17:22:02 -05:00
Pedro Vicente Nunes
17d0b72815 [svn-r6894] Purpose:
changes of input/ output  format

Description:
on web page /RFC/h5diff

Solution:

Platforms tested:

Windows 2000 (octopus)
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)


Misc. update:
2003-05-19 00:09:08 -05:00
Pedro Vicente Nunes
401c1bc318 [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:
2003-05-07 17:28:09 -05:00
Pedro Vicente Nunes
180b83bbbe [svn-r6801] Purpose:
h5diff update

Description:
removed the -l , list, option
this feature will be part of a different tool

Solution:

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




Misc. update:
2003-05-05 22:29:39 -05:00
Pedro Vicente Nunes
c37bcc12fc [svn-r6771] Purpose:
added more tests, described in the test matrix

Description:
test -r
test -l
expanded -d, -p and -n tests
test different types to include links and named types
test for non supported classes, e.g bitfield, opaque , etc

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

Misc. update:
2003-04-28 18:56:32 -05:00
Pedro Vicente Nunes
4147628137 [svn-r6700] Purpose:
added tests 1.7, 1.8, 1.9 described in the test matrix

Description:

Solution:

Platforms tested:

Linux/rockaway(C)
SunOS/arabica (C)
SGI/modi4 (C)


Misc. update:
2003-04-17 15:53:06 -05:00
Pedro Vicente Nunes
3bff6431c7 [svn-r6694] Purpose:
added some niceties and utilities, and more tests

Description:
some niceties: more error messages on cases of bad input
utilities: some functions to more human readable output
more tests: described in the test matrix


Platforms tested:

Linux/rockaway(C)
SunOS/arabica (C)
SGI/modi4 (C)
2003-04-17 11:50:56 -05:00
Pedro Vicente Nunes
2596820e38 [svn-r6626] Purpose:
added new tests
removed compiler warnings from unix platforms
changed usage message

Description:

Solution:

Platforms tested:
w2000, linux, arabica, modi4

Misc. update:
2003-04-09 22:16:17 -05:00
Quincey Koziol
5d20142327 [svn-r6596] Purpose:
Code cleanup/bug fix

Description:
    Clean up files created during testing.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Linux 2.4 (eirene)

Misc. update:
2003-04-08 14:50:17 -05:00
Pedro Vicente Nunes
3bd39f60e0 [svn-r6588] Purpose:
added more tests to automatic testing

Description:
added test for an invalid option letter
added test for -h option
added test for an invalid option -d
added test for an invalid option -d number

Solution:

Platforms tested:
linux, solaris, sgi

Misc. update:
2003-04-04 14:42:26 -05:00
Pedro Vicente Nunes
d6f94bf8bd [svn-r6587] Purpose:
typo in usage message

Description:

Solution:

Platforms tested:
linux
Misc. update:
2003-04-04 13:54:37 -05:00
Pedro Vicente Nunes
febe7d0bd9 [svn-r6563] Purpose:
added test script for h5diff
code cleaning for alpha release
makefile now generates the h5difftst.c program that generates 2 .h5 files for testing

Description:
the .sh script runs several runs of h5diff and compares the output
with a predifined output located in /tools/testfiles (.txt files)
righ now it has only one test


Solution:

Platforms tested:
linux (other platforms later , ok !? )

Misc. update:
2003-04-02 13:44:12 -05:00
Bill Wendling
48eb3267ca [svn-r6541] Purpose:
Update

Description:
    Updated Copyright statements

Platforms tested:
    None needed...

Misc. update:
2003-03-31 13:06:44 -05:00
Pedro Vicente Nunes
1e35713691 [svn-r6344] Purpose:
bug fix
    added more verbose help message
    added support for all dataset types
    added more error checking
    added new output format (28 Jan version )



Platforms tested:
    windows , linux
2003-01-29 15:56:34 -05:00
Bill Wendling
b19aa45229 [svn-r5978] Purpose:
Bug Fix
Description:
    Tests were failing on SOlaris machines.
Solution:
    Added an explicit return value (0) to the script and main function.
2002-10-11 12:59:24 -05:00
Pedro Vicente Nunes
a9c1a913ab [svn-r5975] Purpose:
changed script for tests


Platforms tested:

linux 2.4.18
2002-10-10 11:33:16 -05:00
Pedro Vicente Nunes
d49f76ace9 [svn-r5972] Purpose:
added a test file , a makefile and a script to run h5diff tests

Platforms tested:

linux 2.4.18
2002-10-09 16:23:38 -05:00