summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/testfiles
Commit message (Collapse)AuthorAgeFilesLines
...
* [svn-r18874] Purpose:Jonathan Kim2010-05-2111-51/+51
| | | | | | | | | | | | Rename '--follow-links' to '--follow-symlinks' Description: The '--follow-links' option is to follow symbolic links (soft and external). Make the name more intuitive and specific to the feature. Merged from hdf5 trunk r18873. Tested: jam
* [svn-r18773] Add files to support building library with CMakeAllen Byrne2010-05-122-0/+20
| | | | Tested: Local linux
* [svn-r18318] Updated test script to match *nix shell script. Also corrected ↵Allen Byrne2010-02-231-1/+1
| | | | | | 629 file exit code Tested: windows
* [svn-r18279] Purpose:Jonathan Kim2010-02-19117-310/+1265
| | | | | | | | | | Work for bugzilla 1754: h5diff: support comparing through links. Description: merged from hdf5 trunk (18164, 18165, 18166, 18167, 18170, 18266, 18273) Tested: h5committest (jam, amani and linew)
* [svn-r18135] Purpose:Jonathan Kim2010-01-2110-12/+0
| | | | | | | | | | | | Additional fix relted to the fix of bug1672. Description: The fix of bug1672 caused some changes of output which required modifying some test cases. After some discussion, restoring the changes of the test cases was decided. After many experiments for the solution, this fix was made so the code which improved performance can stay. Tested on Jam.
* [svn-r18130] Purpose:Jonathan Kim2010-01-212-0/+2
| | | | | | | Add test case relate to bug1749. Also corrected command echo line which is not match with actual test. Tested on Jam.
* [svn-r17921] Purpose:Jonathan Kim2009-11-2010-0/+12
| | | | | | | | | | | | | | | | Fix Bug1672 - Display garbage value on LE machine for BE data. Description: Casuing by calling diff_dataset twice when -r or no option was given. Change to call it once which fix the problem. It also improves the performance. (diffing time in half) According further test, it also occurred on BE machine as well and it seems occruing only with the BE data attached to Bugzilla. Don't know how the file was created. Anyway this fix will prevent from diffing with garbage values in similiar potential case. Tested on: linux32 (jam) , linux64 (almani), solaris (linew)
* [svn-r17467] " Use strict equality as defaultPeter Cao2009-09-1114-322/+108
| | | | | | " Use "--use-system-epsilon" for system EPSILON " Use "-p" or "-d" for whatever user's choice of epsilon " Use "-p 0" or "-d 0" for strict equality (same as default)
* [svn-r17255] Fixed Bug 1563 - h5diff and InfinityPeter Cao2009-07-284-0/+8
| | | | Added test cases.
* [svn-r16999] merge 16991 from trunkPedro Vicente Nunes2009-06-038-11/+11
| | | | | change messages of -c option tested: windows, linux
* [svn-r16965] merge 16964 from trunkPedro Vicente Nunes2009-05-201-1/+1
| | | | | bug fix: the phrase "Not comparable" was not being printed for the case of different classes tested: windows, linux
* [svn-r16811] merge 16810Pedro Vicente Nunes2009-04-2011-16/+16
| | | | | added the words "Not comparable" in the not comparable messages tested: linux
* [svn-r16641] merge from trunk revs 16614, 16629Pedro Vicente Nunes2009-04-013-0/+4
| | | | | | | | | | | 1. #1501 (B1) tools bug if dataset is larger than H5TOOLS_BUFSIZE limit. ISSUE : the tools use the following formula to read by hyperslabs: hyperslab_size[i] = MIN( dim_size[i], H5TOOLS_BUFSIZE / datum_size) where H5TOOLS_BUFSIZE is a constant defined of 1024K. This is OK as long as the datum_size does not exceed 1024K, otherwise we have a hyperslab size of 0 (since 1024K/(greater than 1024K) = 0). This affects h5dump. h5repack, h5diff SOLUTION: add a check for a 0 size and define as 1 if so. TEST FOR H5DUMP: Defined a case in the h5dump test generator program of such a type (an array type of doubles with a large array dimension, that was the case the user reported). Since the written file commited in svn would be around 1024K, opted for not writing the data (the part of the code where the hyperslab is defined is executed, since h5dump always reads the files). Defined a macro WRITE_ARRAY to enable such writing if needed. Added a run on the h5dump shell script. Added 2 new files to svn: tools/testfiles/tarray8.ddl, tools/testfiles/tarray8.h5. NOTE: while doing this I thought of adding this dataset case to an existing file, but that would add the large array output to those files (the ddls). The issue is that the file list is increasing. TEST FOR H5DIFF: for h5diff the check for reading by hyperslabs is H5TOOLS_MALLOCSIZE (128 * H5TOOLS_BUFSIZE) or 128 Mb. This makes it not possible to add such a file to svn, so used the same method as h5dump (only write the dataset if WRITE_ARRAY is defined). As opposed to h5dump, the hyperslab code is NOT executed when the dataset is empty (dataset is not read). Added the new dataset to existing files and shell run (tools/h5diff/testfiles/h5diff_dset1.h5 and tools/h5diff/testfiles/h5diff_dset2.h5 and output in tools/h5diff/testfiles/h5diff_80.txt). TEST FOR H5REPACK: similar issue as h5diff with the difference that the hyperslab code is run. Added a run to the shell script (with a filter, otherwise the code uses H5Ocopy). FURTHER ISSUES: the type in question ("double") has a different output cross platforms (e.g on liberty some garbage number is printed at some array locations) SOLUTION: defined an "int" type for this test. However the printing of such an array has a bogus output at least in one platform (FreeBsd), so eliminated the test run altogether and filed a bug report on this
* [svn-r16463] merge from trunkPedro Vicente Nunes2009-02-115-0/+16
| | | | | | | | | | | | | | | | | | | | Bug fix: for compound types, the not comparable test for members was not done Solution: for compound types, recursively apply that check Two new cases are added 1) the compound type has a different number of members. Message printed is <obj1> has X members <obj2> has Y members Where X and Y are the number of members of each compound type being compared 2) the compound type has not comparable types (for example a double and an int at the same index) In this case the message Comparison not possible: object1 is of class1 and object2 is of class2 Is replaced with Comparison not possible: object1 has a class1 and object2 has a class2 Modified the test generator program to have these 2 cases Added a shell run for these 2 cases Tested: h5committest
* [svn-r16437] merge from trunkPedro Vicente Nunes2009-02-0514-14/+14
| | | | | bug fix: typo in usage message tested: linux
* [svn-r16359] merge 16348Pedro Vicente Nunes2009-01-273-3/+4
| | | | | | | bug fix a new line was not inserted at the end of output, causing diff to complain between linux and frebsd tested: linux (freebsd tested on the trunk)
* [svn-r16351] merge 16348Pedro Vicente Nunes2009-01-2641-13/+66
| | | | | | | | #1368 (E1) h5diff: implement "not comparable" messages. Implemented RFC. The new option is <-c, --compare List objects that are not comparable> added some test cases tested: windows, linux
* [svn-r16312] merge 16300Pedro Vicente Nunes2009-01-1414-0/+14
| | | | | | | | | Added an option to avoid dealing with NaNs -N, --nan Avoid NaNs detection Note: there is no shell script run for datasets with NaN because the output is non portable (different results and NaN strings for different systems) Tested: windows, linux
* [svn-r16218] Merging trunk 16217Pedro Vicente Nunes2008-12-234-2/+9
| | | | | | | | Bug fix PG compiler complains about array out of bounds (a rank of zero was not checked) Adding a scalar dataset to the test generator program. this case is run on a previous existing run, the case was added to 2 existing files Tested: windows, linux
* [svn-r16071] For scalar string datasets print the character position when a ↵Pedro Vicente Nunes2008-11-132-504/+504
| | | | | | difference is found instead of a non-existing array position tested: windows, linux
* [svn-r16027] reintroduce code before 16025 of code freezePedro Vicente Nunes2008-11-042-504/+504
|
* [svn-r16025] For scalar string datasets print the character position when a ↵Pedro Vicente Nunes2008-11-042-504/+504
| | | | | | difference is found instead of a non-existing array position Tested: windows
* [svn-r15900] Make the h5copy test that renames a group to return 1 on the ↵Pedro Vicente Nunes2008-10-1714-14/+0
| | | | | | | | h5diff call and assume 1 is the correct result Drop the -c flag for h5diff Tested: linux
* [svn-r15896] Introduced a -c flag to ignore file contents differences in the ↵Pedro Vicente Nunes2008-10-1614-0/+14
| | | | | | | | return value (return 0 id -c is present) Introduced for h5copy validation Tested: windows, linux
* [svn-r15871] Eliminate -c option and make that behavior the default and ↵Pedro Vicente Nunes2008-10-1515-109/+28
| | | | | | return 2 instead of -1 on error status Tested: windows, linux
* [svn-r15866] add support for long double typePedro Vicente Nunes2008-10-143-0/+2
| | | | tested: windows, linux (32,64)
* [svn-r15745] Move h5diff testfiles to /tools/h5diff/testfiles Pedro Vicente Nunes2008-10-0173-0/+5149
Tested: linux