| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
feature.
Description: Added the feature of non-repeated tests. If a test has
passed, it will not be run again in the next 'make check' unless its
executable has changed.
Also added the target "check-clean" to remove all the *.chkexe files which
indicated the test passed last time.
|
|
|
|
|
|
| |
(added a version -V flag to h5unjam)
tested: linux
|
|
|
|
|
|
| |
(added a version -V flag to h5jam)
tested: linux
|
|
|
|
| |
tested: linux
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#880(E1) Make the command line tool switches uniform.
New syntax for h5diff
usage: h5diff [OPTIONS] file1 file2 [obj1[obj2]]
file1 File name of the first HDF5 file
file2 File name of the second HDF5 file
[obj1] Name of an HDF5 object, in absolute path
[obj2] Name of an HDF5 object, in absolute path
OPTIONS
-h, --help Print a usage message and exit
-V, --version Print version number and exit
-r, --report Report mode. Print differences
-v, --verbose Verbose mode. Print differences, list of objects
-q, --quiet Quiet mode. Do not do output
-n C, --count=C Print differences up to C number
-d D, --delta=D Print difference when greater than limit D
-p R, --relative=R Print difference when greater than relative limit R
C - is a positive integer
D - is a positive number. Compare criteria is |a - b| > D
R - is a positive number. Compare criteria is |(b-a)/a| > R
Modes of output:
Default mode: print the number of differences found and where they occured
-r Report mode: print the above plus the differences
-v Verbose mode: print the above plus a list of objects and warnings
-q Quiet mode: do not print output
Return exit code:
1 if differences found, 0 if no differences, -1 if error
Examples of use:
1) h5diff file1 file2 /g1/dset1 /g1/dset2
Compares object '/g1/dset1' in file1 with '/g1/dset2' in file2
2) h5diff file1 file2 /g1/dset1
Compares object '/g1/dset1' in both files
3) h5diff file1 file2
Compares all objects in both files
Note) file1 and file2 can be the same file. Use
h5diff file1 file1 /g1/dset1 /g1/dset2
to compare '/g1/dset1' and '/g1/dset2' in the same file
If no objects [obj1[obj2]] are specified, h5diff only compares objects
with the same absolute path in both files. The compare criteria is:
1) datasets: numerical array differences 2) groups: name string difference
3) datatypes: the return value of H5Tequal 2) links: name string difference
of the linked value
tested: linux, solaris
|
|
|
|
| |
tested: linux
|
|
|
|
|
|
|
|
| |
DONE NOW for 1.6, done previously for 1.8
RFC here
http://bugzilla.hdfgroup.uiuc.edu/show_bug.cgi?id=368
tested: linux, solaris
|
|
|
|
| |
tested: linux
|
|
|
|
| |
tested: linux
|
|
|
|
| |
tested: linux
|
|
|
|
| |
tested: linux
|
| |
|
| |
|
|
|
|
|
| |
tested: linux
|
|
|
|
| |
tested: windows, solaris, linux
|
| |
|
|
|
|
|
|
|
|
|
| |
1) make the command line syntax same as h5dump, add long switch names
2) percentage printing bug in the copy code
remove one unused source file
tested: windows, linux, solaris
|
|
|
|
| |
tested: windows, linux, solaris
|
|
|
|
|
|
|
|
|
| |
1) have several global filters
2) do a check on the verify code about private filter values
Note: some shuffle and szip private symbols were made public
tested: windows, linux, solaris
|
|
|
|
|
|
| |
just use one of them and remove the other from svn
tested: linux, solaris
|
|
|
|
|
|
|
|
|
|
| |
generated by h5importtest on each test run,
others were in svn and used from that location (don't know why the difference)
per windows developer (SW) request made all the used text input files to be in svn
the binary files are obviously dynamically generated by h5importtest on each run
tested: linux, solaris
|
|
|
|
| |
tested: linux
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Up (an IBM SP AIX machine) was failing the following test.
Testing BINARY I8 CR LF EOF *FAILED*
Fix:
Pedro deduced it was because of AIX interprets a native char as
unsigned while some other machines interprets it signed and the
expected output to be so. Pedro sent me a fix for this problem
and it worked for Up. Per Pedro's instruction, I am committing
the fix directly from the machine zeus. (up does not have svn.
Zeus, another machine at this site, supports svn.)
Tested:
Up.
|
|
|
|
| |
tested: windows, linux
|
|
|
|
| |
prisoners
|
|
|
|
|
|
| |
"wb" instead of "r"
tested: windows, linux
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
text input files = .txt
binary input files = .bin
configuration files = .conf
hdf5 files = .h5
besides that in very test the files have the same name except extension.
For example
TOOLTEST txtin16.txt -c $srcdir/testfiles/txtin16.conf -o txtin16.h5
The convention for the test name is for example, for "txtin16"
"txt" for text then "in16" means integer 16 size
Tested: linux, solaris
|
| |
|
| |
|
|
|
|
|
|
| |
predetermined byte order, so that the cross platform tests pass between big and little endian machines
tested: linux, solaris
|
| |
|
|
|
|
| |
cleaning along with the others h5s
|
|
|
|
|
|
| |
fread in windows needs a binary file to be open with "rb" instead of "r" otherwise it terminates execution if an end of file character is found on the input file. Besides that the binary file generated needs to be open with "wb" , otherwise an end of line character is read twice. FOR 1.6 ONLY (To do for 1.8)
tested: windows, linux, solaris
|
|
|
|
|
|
|
|
| |
Change the 'coord' parameter for H5Sselect_elements() from 'hsize_t **' to
'hsize_t *' in this branch also.
Tested on:
Mac OS X/32 10.5.1 (amazon)
|
|
|
|
| |
removing the stream-vfd.
|
|
|
|
|
|
|
| |
Removed the stream-vfd from the basic library code.
Platforms tested:
Kagiso (serial and parallel).
|
|
|
|
|
|
| |
remove a file that does not need to be in svn, since it is generated in the h5repack test program
tested: linux
|
|
|
|
|
|
|
|
|
| |
cleanup
Move binread to PROGS so that it will be removed by "make clean" too.
Tested:
In kagiso only since it was a trivial change.
|
|
|
|
|
|
|
|
|
| |
Make h5dump more gracious and informative about objects it doesn't
understand.
Tested on:
Mac OS X/32 10.4.10 (amazon)
No need for h5committest - very minor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug fix.
Description:
The "h5dump -o ..." test generates temporay files in the testfiles of the
source code and later on remove them. This could cuase a racing condition
if more than one --srcdir build is using the same copy of the source code.
Since they use the same file name in the testfiles, they may conflict with
each other.
Solution:
Changed to generate the temporary files in the build-dir's own testfiles
directory. Since the build-dir can have different names, the CMP of expected
output now skip the first three lines which are label lines that contains
the location of the temporary.
Also removed the CREATE code since actual files created now cannot be
blindly copied to the expect files. Also, expected files should be
create by explicit action and careful inspection of files generated.
Tested platform:
Done in kagiso, both by --src-dir and in-place build.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changed macro names, conflict with new compiler
--changed DATASET to H5_TOOLS_DATASET
-- changed DATATYPE to H5_TOOLS _DATATYPE
-- changed GROUP to H5_TOOLS_GROUP
In mingw's version of winsock2.h they define:
typedef unsigned int GROUP;
remove STORAGELAYOUT macro, it was not used
tested: linux
|
|
|
|
|
|
|
|
|
| |
the split and multi file tests in testh5dump.sh
were commented out due to some failure in the pass with the pgcc compiler
the failure does not happen anymore, activated the tests again
tested kagiso pgcc, smirom pgcc, solaris
|
|
|
|
|
|
|
| |
Formatting cleanups
Tested on:
FreeBSD/32 6.2 (duty)
|
|
|
|
|
|
| |
Minor tunings to output verbose messages: when there is not a filter request do not print a message saying the filter was not apllied when the dataset was too small
Tested:linux
|
|
|
|
|
|
| |
Early detection of no arguments, print usage and exit
Tested: linux
|
|
|
|
|
|
| |
Clean temporary test files
Tested: linux
|
|
|
|
|
|
| |
Modified the current h5dump test script to use h5import/h5diff calls to validate the binary output. At this moment it can only be used with the native test, since h5import does not deal with input endianess.
tested: linux, AIX, solaris
|
|
|
|
|
|
|
|
| |
So use __int64 instead.
Since the change only involves windows compilers, h5committest is not needed.
Compiled at linux.
|
|
|
|
| |
the new binary file for h5repack hyperslab I/O
|