summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/testh5diff.sh
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r19543] Description:Quincey Koziol2010-10-081-2/+4
| | | | | | | | | | | | | | | | | | | | | | Bring r19411:19542 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r19413] Description:Quincey Koziol2010-09-171-1/+86
| | | | | | | | | | | | | | | | | | | | | | Bring r19349:19411 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r19050] Description:Quincey Koziol2010-07-061-44/+52
| | | | | | | | | | | | | | | | | | | | Bring r18704:19049 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r18451] Description:Quincey Koziol2010-03-251-88/+101
| | | | | | | | | | | | | | | | | | Bring r18172:18446 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18175] Description:Quincey Koziol2010-01-281-115/+169
| | | | | | | | | | | | | | | | | | Bring r17986:18172 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r17896] Description:Quincey Koziol2009-11-161-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | Bring r17546:17895 from trunk to revise_chunks branch. Changes to fixed and extensible array dataset chunk indexing code to accommodate changes to private APIs in those interfaces. Also, other adjustments to source code and expected output in response to changes on the trunk. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.2 (amazon) in debug mode Mac OS X/32 10.6.2 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r17522] Description:Quincey Koziol2009-09-241-0/+11
| | | | | | | | | | Bring in the rest of Vailin's changes for testing fixed array chunk indices, across the range of range of all the tools and the appropriate dataset tests. Tested on: Mac OS X/32 10.5.8 (amazon) w/debug & production (h5committest not required for this branch)
* [svn-r17505] Description:Quincey Koziol2009-09-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | Bring r17416:17496 from trunk to revise_chunks branch Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.8 (amazon) in debug mode Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r17263] Description:Quincey Koziol2009-07-291-0/+8
| | | | | | | | | Bring r17244:17262 from trunk to revise_chunks branch Tested on: Mac OS X/32 10.5.7 (amazon) w/debug & production FreeBSD/32 6.3 (duty) w/debug h5committest not needed on this branch
* [svn-r17085] Description:Quincey Koziol2009-06-181-2/+3
| | | | | | | | | | | | | | | | | | | | | Bring r17002:17084 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.7 (amazon) in debug mode Mac OS X/32 10.5.7 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r16514] Description:Quincey Koziol2009-02-241-0/+10
| | | | | | | | | | | | | | | | | | | | | Merge r16440:16500 from trunk into revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.6 (amazon) in debug mode Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r16369] Description:Quincey Koziol2009-01-281-0/+19
| | | | | | | | Bring r16347:16367 from trunk into revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) (h5committest not required on this branch)
* [svn-r16357] Description:Quincey Koziol2009-01-271-2/+8
| | | | | | | | Bring r16307:16347 back from trunk into revise_chunks branch Tested on: FreeBSD/32 6.3 (duty) (h5committest not required on this branch)
* [svn-r15987] Merge with 1.8 rev 15871Pedro Vicente Nunes2008-10-291-3/+1
| | | | | | Eliminate -c option and make that behavior the default and return 2 instead of -1 on error status tested: linux
* [svn-r15977] merge rev 15866 from 1.8 branch into trunk (diffs for unsigned ↵Pedro Vicente Nunes2008-10-281-0/+2
| | | | | | long long) tested: windows, linux
* [svn-r15428] http://bugzilla.hdfgroup.uiuc.edu/show_bug.cgi?id=1170Pedro Vicente Nunes2008-08-041-0/+6
| | | | | | | | | | Summary: when using h5diff to compare the results of h5repack (or other tools that copy one HDF5 file to another), a new option is needed to allow h5diff to make an "absolute" comparison of the 2 files. This is the "contents" mode explained in the usage below. If this mode is present, objects in both files must match (must be exactly the same). If this does not happen, the tool returns an error code of 1 (instead of the success code of 0) Changes to the h5repack test script: the call to h5diff was changed to include -c (maintaining the previous -q). tested: windows, linux, solaris
* [svn-r15246] Changed the shell script to avoid doing a cd $srcdirPedro Vicente Nunes2008-06-201-31/+96
| | | | | | | | | | | | The name of the files are now given by its full name relative to $srcdir To avoid the printing of the complete full path of the test file, that hides all the other parameters for long paths, the printing of the command line is done first in TESTING with the name only of the test file, not its full path the printing in the expected output that had the file name was removed as well as 3 tests that tested error messages in which the file name was present tested: linux (in 2 different build directories relative to $srcdir), solaris
* [svn-r15238] Pedro Vicente Nunes2008-06-191-5/+6
| | | | | | Moved all h5diff testfiles from /tools/testfiles to tools/h5diff/testfiles Tested: linux, solaris
* [svn-r14273] new feature: added some long options to the testsPedro Vicente Nunes2007-11-201-3/+3
| | | | tested: linux
* [svn-r14258] new feature: make h5diff use the same command line parsing code ↵Pedro Vicente Nunes2007-11-131-60/+60
| | | | | | | | | and syntax than h5dump usage is now h5diff [OPTIONS] file1 file2 [obj1[obj2]] tested: windows, linux, solaris
* [svn-r14051] Pedro Vicente Nunes2007-08-071-1/+1
| | | | | | Make the compare to itself file test be another due to the recently introduced file with Nans Tested: linux, solaris
* [svn-r13894] Description:Scott Wegner2007-06-201-2/+2
| | | | | | | | | | | On Windows, Mingw interprets all parameters starting with '/' as paths, and replaces the '/' with its home directory, "C:\Windows\msys\". This was a problem in h5diff tests such as: h5diff h5diff_101.txt $FILE1 $FILE1 /g1/d1 g1/d2 -v I've removed the leading '/', as h5diff will interpret it the same either way. Tested: kagiso, linew, and smirom, via h5committest mingw on Windows XP
* [svn-r13431] Pedro Vicente Nunes2007-02-281-1/+1
| | | | | | Bug fix: the macro used for percentage in the unsigned types needed a cast to signed (the difference can be negative) Unlike the 1.6 branch the unsigned long long conversion to float is supported by H5Tconvert , so the test commented for 1.6 is run (tools/testfiles/h5diff_16_2.txt)
* [svn-r13417] Pedro Vicente Nunes2007-02-271-67/+67
| | | | commented a test that fails cross platforms and renamed files
* [svn-r13404] Pedro Vicente Nunes2007-02-261-75/+67
| | | | renamed files for more easy browsing
* [svn-r13401] Pedro Vicente Nunes2007-02-261-11/+1
| | | | clean comments
* [svn-r13400] Pedro Vicente Nunes2007-02-261-4/+13
| | | | Revision of the percent tests to have all the same data
* [svn-r13261] Updated copyright notices.Albert Cheng2007-02-071-2/+3
| | | | Tested: visual inspection as they are all just comments.
* [svn-r12984] Pedro Vicente Nunes2006-11-271-2/+8
| | | | | | | Added a relative error formula to deal with floating point uncertainty in the comparison of floats and double types. Added new tests for this feature to the file generator program and to the shell script
* [svn-r12819] Pedro Vicente Nunes2006-10-261-2/+2
| | | | | | | h5diff: print a message of "not comparable" in a case where the relative error compare is not possible, due to the denominator being zero. Modified the test file generator program to include a example for this and a new test on the shell script
* [svn-r12815] Pedro Vicente Nunes2006-10-251-64/+85
| | | | | | | | | | | | | | 1) added a new parameter to the h5diff function diff_array that contains the beginning position of the hyperslab, so that the total position in the array is printed correctly when reading by hyperslabs. 2) added a new test to h5diff that reads and diffs by hyperslabs. The test reads a 1GB dataset, from which a 1KB hyperslab was written with differences . 3) added the generation of 2 files to the generator program to test the h5diff hyperslab read. 4) changed the h5diff binary pre-generated file names to be more descriptive (e.g, instead of file1.h5, made it h5diff_basic1.h5) 5) changed the name of the h5repack options text file to info.h5repack
* [svn-r12297] Purpose:Pedro Vicente Nunes2006-04-251-11/+3
| | | | | | | | | | | | | | | | | new feature Description: added support for the printout of dataset region references differences added a new test for this merged the h5diff generator of test files into a single file Solution: Platforms tested: linux 32, 64 solaris Misc. update:
* [svn-r12146] Purpose:Pedro Vicente Nunes2006-03-231-1/+4
| | | | | | | | | | | | | | | | | bug fix Description: percent relative error was done using integer arythmetic; use floating point instead added the case for unsigned long long integer to float conversion Solution: Platforms tested: linux (32,64) AIX solaris Misc. update:
* [svn-r12134] Purpose:Pedro Vicente Nunes2006-03-221-0/+4
| | | | | | | | | | | | | | | | | | bug fix Description: 1) added a more explainative usage message 2) the percent relative error for the integer type (division) was being done using integer arythmetic; use floating point arythmetic instead 3) added a new test for integer percent Solution: Platforms tested: linux (32,64) AIX solaris Misc. update:
* [svn-r12112] Purpose:Pedro Vicente Nunes2006-03-171-1/+1
| | | | | | | | | | | | | | | | | | bug fixes Description: 1) the option logic for the print of long types was done incorrectly (extra lines of code that were not supposed to be there) 2) the print of loong long types was incorrect Solution: 1) removed the incorrect code 2) made a long long cast on the printf call Platforms tested: linux (32 and 64) solaris Misc. update:
* [svn-r12096] Purpose:Pedro Vicente Nunes2006-03-161-3/+3
| | | | | | | | | | | | | | | temporary fix Description: one test is failing in tg-login2 Solution: comment until solution found Platforms tested: none Misc. update:
* [svn-r12095] Purpose:Pedro Vicente Nunes2006-03-161-2/+2
| | | | | | | | | | | | | | | temporary fix Description: 2 h5diff tests are failing on mir Solution: comment until solution found Platforms tested: linux (mir) Misc. update:
* [svn-r12092] Purpose:Pedro Vicente Nunes2006-03-151-6/+20
| | | | | | | | | | | | | | | | bug fix, new features Description: when comparing links , the output for the number of differences found was not being done Solution: print it add 3 more tests that test the output of differences for 1) groups 2) datatypes 3) links Platforms tested: linux Misc. update:
* [svn-r11790] Purpose:Albert Cheng2005-12-131-12/+42
| | | | | | | | | | | | | | | | Improvement Description: Some parallel system would dump some system messages in the stdout stream of an MPI application. That caused the output matching script to fail unnecessarily. Solution: Added the STDOUT_FILTER feature to filter out those system messages out of stdout result. Platforms tested: Tested in LANL Lambda.
* [svn-r11607] Purpose:Pedro Vicente Nunes2005-10-261-3/+7
| | | | | | | | | | | | | | | | | new h5diff test Description: added a test to the test h5diff script that compares a file to itself. this test is done to test some features of the library that open the same file and the root group twice Solution: Platforms tested: linux solaris Misc. update:
* [svn-r11262] Purpose:Albert Cheng2005-08-181-1/+10
| | | | | | | | Bug fix. Description: Added filtering of h5diff debug output. Restored the skipped test to be tested again.
* [svn-r11261] Purpose:Albert Cheng2005-08-181-1/+8
| | | | | | | | | | | | Feature and bug patch Description: Added the SKIP feature which skips a test. The latest code will hang the very last test. Skip that test for now. Platforms tested: heping pp.
* [svn-r11069] Purpose:Leon Arber2005-07-131-1/+2
| | | | | | | | | | | | | | | | Bug fix Description: The testh5diff.sh script fails on mcr because of random srun messages thrown into the output Solution: Added some code to filter out the srun messages before the output is compared. Platforms tested: LLNL mcr Misc. update:
* [svn-r10995] Purpose:Pedro Vicente Nunes2005-06-281-1/+5
| | | | | | | | | | | | | | modified the script test so that when the test files do not exist , they are created Description: Solution: Platforms tested: linux solaris Misc. update:
* [svn-r10865] Purpose:Albert Cheng2005-06-071-3/+8
| | | | | | | | | | | | | | | | Improvement Description: The actual stderr output was modified by the FILTER and was not available for display if errors detected later. Solution: Copy the actual stderr to a temporary file and do filtering on that. Platforms tested: LANL Flash. Misc. update:
* [svn-r10829] Purpose:Albert Cheng2005-05-311-11/+35
| | | | | | | | | | | | | | | Bug fix Description: Various system or software (e.g. MPE) will print some diagnosis messages to stderr that cannot be suppressed. They messed up the output matching. Installed the STDERR_FILTER() to remove all these messages. Platforms tested: LANL flash. Misc. update:
* [svn-r10029] Purpose:Albert Cheng2005-02-171-3/+17
| | | | | | | | | | | | | | | | | | bug fix. Description: When MPE library is used, it prints two extra message lines that interfere with the expected output. Solution: Filter out those two lines of text from stderr. Also added a provision to print the whole generated output when failure is detected. Platforms tested: Tested in copper, serial, parallel and parallel with MPE. Misc. update:
* [svn-r10017] Purpose:Albert Cheng2005-02-161-2/+1
| | | | | | | | | | | | | | | | | bug fix/new feature. Description: (committing changes made by Leon.) ph5diff now is a real program by itself. It has its own main (ph5diff_main.c). Codes common to h5diff and ph5diff are in h5diff_common.c. Removed the hack that hide failures from testh5diff.sh. Platforms tested: heping(serial, pp), sol (pp), copper(pp). Misc. update:
* [svn-r10007] Purpose:Albert Cheng2005-02-151-6/+7
| | | | | | | | | | | | | | Bug fix. Description: ph5diff is still being fixed. Changed this to report all failures but will not flag them as errors so that daily tests can continue. Will be fixed soon. Platforms tested: Tested in sol (pp) where it has most failures. Misc. update:
* [svn-r9980] Purpose:Albert Cheng2005-02-101-6/+2
| | | | | | | | | | | | | | | | bug fix. Description: Need eval before the RUNCMD command because some machines like AIX, has RUNPARALLEL in the style as MP_PROCS=3 MP_TASKS_PER_NODE=3 poe ./a.out that throws the shell script off. Platforms tested: Tested in copper (pp) where it failed before. Tested in heping pp too. Misc. update: