summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/testh5diff.sh
Commit message (Collapse)AuthorAgeFilesLines
* [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:
* [svn-r9979] Purpose:Albert Cheng2005-02-101-1/+0
| | | | | | | | | | | | | | | | Bug fixed. Description: Heping used to have a network limit that if too many rsh connections occurred in a second, it stopped accepting connections for 30 seconds. That caused testph5diff to fail when too many mpi jobs are executed repidly. A sleep 2 was in to go around this problem. Heping's limit has been raised, thus no more need for this hack. Sleep 2 is removed. Platforms tested: Tested in heping (pp). Misc. update:
* [svn-r9956] Purpose:Leon Arber2005-02-081-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed numerous ph5diff bugs. Description: Fixed manager output printing Fixed out of order output printing Fixed test script execution problem Temporary fix for large amounts of output overflowing buffer. Solution: The manager task buffers its output. However, since the manager task never gets a print token, this output was lost. Solution: new function called print_manager_output that prints buffered output is called in places where the manager buffers its output. printf was apparently buffering output. This means that a task would sometimes print even after it had given up its print token. Added fflush() call after printf() calls, which seems to have fixed the problem. calling rsh multiple times in succession seems to overwhelm something in Linux, as it begins to refuse new connections until the old ones reset. Since each call to mpirun in the test script starts up 4 rsh sessions, the test script eventually is unable to run any further tests. Solution: Added a short delay in the testscript between successive calls to mpirun to allow old connections to reset. The 10k output buffer was of insufficient size to hold the large amounts of output generated by some of the tests. Since code to buffer to a file has not been implemented yet, a temporary fix was to increase the size of the output buffer to 50k. Platforms tested: heping Misc. update:
* [svn-r9945] Purpose:Albert Cheng2005-02-061-46/+64
| | | | | | | | | | | | | | | Bug fix Description: h5diff_main.c contained some debug printf statment that produced unexpected output. Commented them out. testh5diff.sh: implemented code to test ph5diff tests but ph5diff has some errors that generated unexpected output. Temporary hacked to skip tests if run by daily test account. Platforms tested: Tested in heping, serial and parallel.
* [svn-r9931] Purpose:Albert Cheng2005-02-041-2/+34
| | | | | | | | | | | new features Description: Added a parallel option to testh5diff.sh to do parallel h5diff tests. Added testph5diff.sh to invoke testh5diff.sh with parallel mode. Platforms tested: Tested in heping (serial and pp).
* [svn-r9893] Purpose:Albert Cheng2005-01-311-1/+1
| | | | | | | | | | | | | | Temporary daily tests fix. Description: The newly added ph5diff is not quite compatible with the h5repack tool. Disabled the ph5diff build (reverted back to building serial h5diff) to allow daily tests to work while ph5diff is fixed. Platforms tested: Tested in heping both serial and parallel modes. Misc. update:
* [svn-r9872] Purpose:Albert Cheng2005-01-261-0/+4
| | | | | | | | | | | | New feature. Description: Added new tool ph5diff. (Code done by Leon Arber.) Code is changed but test is not working yet. For now, it skipped all tests. Platforms tested: Tested in heping, serial and parallel modes.
* [svn-r8904] Purpose:Pedro Vicente Nunes2004-07-201-25/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r8578] Purpose: new testRaymond Lu2004-05-261-0/+2
| | | | | | | Description: Add null dataspace test for dataset and attribute to h5diff Platforms tested: RH 8(fuss). Simple change, only h5diff is involved.
* [svn-r8286] Purpose:Pedro Vicente Nunes2004-03-291-2/+2
| | | | | | | | | | | | | | | | | | | 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:
* [svn-r8283] Purpose:Pedro Vicente Nunes2004-03-261-2/+2
| | | | | | | | | | | | | | | | | | | | 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:
* [svn-r7904] Purpose:Pedro Vicente Nunes2003-12-021-56/+30
| | | | | | | | | | | | | | | | | | | 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:
* [svn-r7785] Purpose:Pedro Vicente Nunes2003-10-291-31/+31
| | | | | | | | | | | | | | | | | | | | 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:
* [svn-r6928] Purpose:Pedro Vicente Nunes2003-05-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r6925] Purpose:Pedro Vicente Nunes2003-05-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r6911] Purpose:Pedro Vicente Nunes2003-05-221-2/+6
| | | | | | | | | | | | made the test file to compare be created if it does not exist Description: Solution: Platforms tested: Misc. update:
* [svn-r6894] Purpose:Pedro Vicente Nunes2003-05-191-262/+156
| | | | | | | | | | | | | | | | | | | 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:
* [svn-r6827] Purpose:Pedro Vicente Nunes2003-05-071-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r6801] Purpose:Pedro Vicente Nunes2003-05-061-3/+0
| | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r6771] Purpose:Pedro Vicente Nunes2003-04-281-37/+174
| | | | | | | | | | | | | | | | | | 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:
* [svn-r6700] Purpose:Pedro Vicente Nunes2003-04-171-0/+9
| | | | | | | | | | | | | | | | | 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:
* [svn-r6694] Purpose:Pedro Vicente Nunes2003-04-171-4/+98
| | | | | | | | | | | | | | | | 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)
* [svn-r6626] Purpose:Pedro Vicente Nunes2003-04-101-13/+74
| | | | | | | | | | | | | | | added new tests removed compiler warnings from unix platforms changed usage message Description: Solution: Platforms tested: w2000, linux, arabica, modi4 Misc. update:
* [svn-r6596] Purpose:Quincey Koziol2003-04-081-7/+3
| | | | | | | | | | | | | | | Code cleanup/bug fix Description: Clean up files created during testing. Solution: Platforms tested: FreeBSD 4.8 (sleipnir) Linux 2.4 (eirene) Misc. update:
* [svn-r6588] Purpose:Pedro Vicente Nunes2003-04-041-0/+13
| | | | | | | | | | | | | | | | | 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:
* [svn-r6587] Purpose:Pedro Vicente Nunes2003-04-041-0/+2
| | | | | | | | | | | | typo in usage message Description: Solution: Platforms tested: linux Misc. update:
* [svn-r6563] Purpose:Pedro Vicente Nunes2003-04-021-8/+45
| | | | | | | | | | | | | | | | | | | 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:
* [svn-r6541] Purpose:Bill Wendling2003-03-311-3/+12
| | | | | | | | | | | | Update Description: Updated Copyright statements Platforms tested: None needed... Misc. update:
* [svn-r6344] Purpose:Pedro Vicente Nunes2003-01-291-3/+5
| | | | | | | | | | | | | 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
* [svn-r5978] Purpose:Bill Wendling2002-10-111-1/+2
| | | | | | | | Bug Fix Description: Tests were failing on SOlaris machines. Solution: Added an explicit return value (0) to the script and main function.
* [svn-r5975] Purpose:Pedro Vicente Nunes2002-10-101-1/+0
| | | | | | | | | changed script for tests Platforms tested: linux 2.4.18
* [svn-r5972] Purpose:Pedro Vicente Nunes2002-10-091-0/+53
added a test file , a makefile and a script to run h5diff tests Platforms tested: linux 2.4.18