summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/testh5dump.sh.in
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r15388] Description:Quincey Koziol2008-07-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert object header cache client to use the new metadata journaling cache, which included adding a new client for handling continuation chunks. Added "real" protect calls around modifying chunks in object headers. Switched a few more metadata cache library API routines to drop the file pointer, when it is not needed (pinning/unpinning entries, etc.) Fixed bug in journaling cache handling of 'image_len' callbacks and also changed cache to retry deserializing entries when the entry's size is larger than the speculative size initially tried. Retrying for 'image_len' callbacks has problems with the 'multi' VFD, so the h5dump and FORTRAN 'multi' tests are commented out, until the changes to the 'multi' VFD from the file free space branch are brought back into the trunk. Currently, the 'h5recover' tool has a bug which requires it to be run twice before replaying the journal "sticks". However, this is from an earlier checkin, since the code in the branch already has this behavior... :-( Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.5.4 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
* [svn-r15237] Description:Quincey Koziol2008-06-181-0/+4
| | | | | | | | | | | | | | | | | | Merge revisions 14900:15037 from trunk into metadata journaling branch Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.5.2 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
* [svn-r15232] Description:Quincey Koziol2008-06-181-2/+1
| | | | | | | | | | | | | | | | | | Bring back revisions 14700:14800 from the trunk Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.5.2 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
* [svn-r15221] Description:Quincey Koziol2008-06-161-5/+12
| | | | | | | | | | | | | | | | | | Bring changes from trunk from the time the branch was created (r14280) up to the 1.8.0 release (r14525) back into the metadata journaling branch. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, 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.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
* [svn-r14188] added a named datatype with attributes to the h5 file that ↵Pedro Vicente Nunes2007-10-051-1/+1
| | | | | | shows attributes with several iteration orders tested: windows, linux
* [svn-r14182] Pedro Vicente Nunes2007-10-041-0/+7
| | | | | | | Added support for displaying several iteration orders on dataset attributes, 4 new tests in test script (name ascending, name descending, creation_order ascending, creation_order descending) New h5 file is made on the generator program Tested: windows, linux
* [svn-r14177] bug fix: Pedro Vicente Nunes2007-10-021-6/+6
| | | | | uncomment code that cleans output files, that was accidently left commented tested: linux
* [svn-r14173] Pedro Vicente Nunes2007-10-021-4/+43
| | | | | | | | | | | | | | | | | | | bug fix the binary option expects a full path in -o TOOLTEST tbin1.ddl -d integer -o $TESTDIR/out1.bin -b LE tbinary.h5 and it prints it in the expected output , making it absolutely not portable Solution: made a special macro function TOOLTEST1 identical to TOOLTEST except that it does not print the Expected output header ############################# Expected output for 'h5dump -d integer -o /home/pvn/kagiso/build_hdf5/tools/h5dump/../testfiles/out1.bin -b LE tbinary.h5' ############################# Tested : linux
* [svn-r14172] Pedro Vicente Nunes2007-10-021-22/+30
| | | | | | | | | 1) added 5 new tests for the group creation order 2) modified the h5dump test script to automatically generated non existing (new) output files 3) cleaning of unused DDL files 4) new modified DDL files include tcomp-3.ddl ( new form of named datatype) and the binary output files tested : linux
* [svn-r13905] Purpose:Albert Cheng2007-06-251-43/+45
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* [svn-r13775] Pedro Vicente Nunes2007-05-211-10/+92
| | | | | | | 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, sunos 5.10
* [svn-r13507] Pedro Vicente Nunes2007-03-121-8/+12
| | | | make 1.7 files similar to 1.6
* [svn-r13285] Pedro Vicente Nunes2007-02-121-3/+0
| | | | remove a test that was incorrectly added previously, that was not the feature that had to be tested
* [svn-r13283] Pedro Vicente Nunes2007-02-121-0/+3
| | | | added a test for the printing of long long numbers greater than 4GB
* [svn-r13280] Pedro Vicente Nunes2007-02-121-0/+6
| | | | 2 tests that were previously incorporated inside the array indices test file were separated from it. These are a test with a dataset with dimensions greater tan 4GB and a test to read by hyperslabs
* [svn-r13261] Updated copyright notices.Albert Cheng2007-02-071-2/+3
| | | | Tested: visual inspection as they are all just comments.
* [svn-r13134] Pedro Vicente Nunes2007-01-101-3/+4
| | | | | | | | | | New version of the function h5tools_dump_simple_subset, to display subsetting. The new algorithm is: Introduced an outer loop for cases where dimensionality is greater than 2D. In each iteration a 2D block is displayed by rows in a inner loop. The remainning slower dimensions above the first 2 are incremented one at a time in the outer loop Note: when blocks are introduced, the display is not correct. This is a bug that requires an improvement of the algorithm.
* [svn-r13132] Pedro Vicente Nunes2007-01-101-0/+3
| | | | Fixed #720 h5dump: improve how region references are displayed. h5dump now uses the new API function H5Rget_name to display the name of the dataset referenced instead of its ID. Added a case to the script test file
* [svn-r13064] Pedro Vicente Nunes2006-12-141-0/+6
| | | | | | | | | | | | | | | | | | | Fix several bugs 1) the parsing of subsetting was using atoi to convert the parameter to an int, which caused problems for numbers greater that int. Substitute with atof 2) the printing of indices in the subsetting case was not being done. Solution: calculate the element position at the start of the subsetting using the algorythm Given an index I(z,y,x) its position from the beginning of an array of sizes A(size_z, size_y,size_x) is given by Position of I(z,y,x) = index_z * size_y * size_x + index_y * size_x + index_x And pass that position to the function that dumps data, h5tools_dump_simple_data. 3) several index counters were declared as int, use hsize_t instead 4) modified the test generation program so that it includes test cases for subsetting of 1d, 2d, 3d, and 4d arrays and add these tests to the shell script
* [svn-r12713] Pedro Vicente Nunes2006-10-031-4/+4
| | | | | | added new tests with different datatypes for h5dump binary output tested: kagiso
* [svn-r12683] Pedro Vicente Nunes2006-09-261-4/+4
| | | | | | | | | | | | | | | | | | revised binary flags, added a new file to the test generator program to be used in the binary tests usage is now -o F, --output=F Output raw data into file F -b F, --binary=F Binary output, of form F (into file -o F). Recommended usage is with --dataset=P Form F of binary output is: MEMORY for memory type, FILE for the disk file type, LE or BE for pre-existing little or big endian types example ./h5dump -d integer -b MEMORY -o out.bin tbinary.h5
* [svn-r12544] Description:Quincey Koziol2006-08-041-0/+4
| | | | | | | | | | | | | | Clean up compiler warnings/failures in test/links.c, especially when --disable-production flag used with --enable-group-revision Modify binary dumping in h5dump to clean up files created [a band-aid solution to not actually creating the files in the srcdir, but better than just leaving the files around... :-/ ] Tested: FreeBSD 4.11 (sleipnir) (w/ configure flags above) Too minor to require h5committest
* [svn-r12528] Added User-Defined links to the library.James Laird2006-08-021-1/+3
| | | | | | | | | | | | | | Users can create external links using H5L_create_external(). These links point to an object in another HDF5 file. Users can alter the behavior of external links or create new kinds of links by registering callbacks using the H5L interface. Added tests, tools support, etc. Also a number of other, minor changes have been made (some restructuring of the H5L interface, for instance). Additional documentation and examples are forthcoming.
* [svn-r12518] h5dump binary output:Pedro Vicente Nunes2006-07-311-2/+3
| | | | | | | 1. changed the -F flag option names to "BE and "LE" for big and little endian 2. added a more verbose usage message for these options 3. add a new test 4. add a make clean instruction to *.bin
* [svn-r12513] Pedro Vicente Nunes2006-07-281-2/+1
| | | | | new feature h5dump binary output. use little and big endian type conversions
* [svn-r12444] Purpose:Pedro Vicente Nunes2006-06-281-0/+3
| | | | | | | | | | | | | | | | | | | | new feature Description: added support for h5dump to dump binary data using the file type format added one test to the test script that tests this Solution: Platforms tested: mir shanti copper Misc. update:
* [svn-r12437] Purpose:Pedro Vicente Nunes2006-06-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | new feature. h5dump output of binary data Description: a new switch -b FILE_NAME that dumps the contents of memory data to file FILE_NAME in binary form new program binread.c that reads the contents of this file and outputs it to stdout added a test for the h5dump shell script that does a run of -b the binread.c program reads the data used in this run, usage is ./binread FILE_NAME Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r12171] Purpose:Pedro Vicente Nunes2006-03-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | bug fixes Description: h5dump/h5ls were not displaying long doubles correctly Solution: 1) the print datatype functions were incorrectly testing for the valid return value from H5Tequal, (TRUE), causing the display of an incorrect name of a dataype in error cases from H5Tequal 2) h5tools_print_str did not have a case for native long double 3) added a file generator for a long double dataset 4) added one script test for the long double data (commented , some sytems don't have a native long double match, and the output differs) 5) added a vms file and h5dump script test Platforms tested: linux 32, 64 solaris AIX Misc. update:
* [svn-r12158] Purpose:Pedro Vicente Nunes2006-03-271-2/+2
| | | | | | | | | | | | | | | | bug fix Description: h5dump was not printing attributes for the named datatype cases Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r10637] Purpose:Quincey Koziol2005-04-211-2/+3
| | | | | | | | | | | | Bug fix/code cleanup Description: Add tests to determine that very long (64K+) object names are working. Fixed a couple of bugs in h5dump where they weren't... Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10060] Purpose:Robert E. McGrath2005-02-211-1/+9
| | | | | | | | | | | | | | feature Description: h5dump support for scaleoffset compression Solution: Platforms tested: verbena, shanti,copper64 Misc. update:
* [svn-r9989] Purpose:Robert E. McGrath2005-02-111-0/+8
| | | | | | | | | | | | | | | Feature Description: Adding support for NBIT compression to dumper Solution: Platforms tested: arabica, verbena, copper64 Misc. update:
* [svn-r9727] Purpose:Quincey Koziol2004-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-) Description: Generally speaking, this is the "signed->unsigned" change to selections. However, in the process of merging code back, things got stickier and stickier until I ended up doing a big "sync the two branches up" operation. So... I brought back all the "infrastructure" fixes from the development branch to the release branch (which I think were actually making some improvement in performance) as well as fixed several bugs which had been fixed in one branch, but not the other. I've also tagged the repository before making this checkin with the label "before_signed_unsigned_changes". Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & fphdf5 FreeBSD 4.10 (sleipnir) w/threadsafe FreeBSD 4.10 (sleipnir) w/backward compatibility Solaris 2.7 (arabica) w/"purify options" Solaris 2.8 (sol) w/FORTRAN & C++ AIX 5.x (copper) w/parallel & FORTRAN IRIX64 6.5 (modi4) w/FORTRAN Linux 2.4 (heping) w/FORTRAN & C++ Misc. update:
* [svn-r9542] Purpose:Albert Cheng2004-11-181-0/+3
| | | | | | | | | | | | | | | | | | | Bug fix (#264) Description: h5dump did not print attribute data in ASCII format when -r is used. Solution: Added the ability to print in ASCII for Attributes Data also. Added a test for printing Attributes with -r option. Platforms tested: H5committested. Also in heping. Misc. update: Update MANIFEST.
* [svn-r8852] Purpose:Pedro Vicente Nunes2004-07-091-4/+4
| | | | | | | | | | | | | | | | h5dump new tests Description: added new tests for the print of array indices (nested objects, several ranks) Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8826] Purpose:Pedro Vicente Nunes2004-07-071-3/+4
| | | | | | | | | | | | | | | | | | h5dump new tests Description: added more tests for the escape/not escape feature for string data (with vlen, with compound, with char data) Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8813] Purpose:Pedro Vicente Nunes2004-07-061-1/+1
| | | | | | | | | | | | | | bug fix Description: one run from the tests had a wrong dataset name Solution: Platforms tested: linux (small ) Misc. update:
* [svn-r8812] Purpose:Pedro Vicente Nunes2004-07-061-14/+14
| | | | | | | | | | | | | | | | | | h5dump new tests Description: added new tests for the -p option, superblock, file contents, fill values, array indices. Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8718] Purpose:Pedro Vicente Nunes2004-06-221-1/+1
| | | | | | | | | | | | | | bug fix Description: the name of a dataset in one test had a typo Solution: Platforms tested: linux (small change ) Misc. update:
* [svn-r8715] Purpose:Pedro Vicente Nunes2004-06-221-7/+23
| | | | | | | | | | | | | | | | | | | | | | h5dump output change, new tests Description: the storage layout output format the storage layout output format had some changes same for the user defined filter add an option (-y) for not printing the array indices (default is print indices ) the option for escaping non printable characters covers all characters (default is not escape) (this might be not very portable, the test files are tstring.ddl and tstringe.ddl ) add tests for the new options Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8714] *** empty log message ***Raymond Lu2004-06-211-2/+3
|
* [svn-r8644] Purpose: h5dump new featuresPedro Vicente Nunes2004-06-101-0/+66
| | | | | | | | | | | | | | | | | | | | | | | Description: added the code for print strings with new line and display the path of references (new source files h5tools_ref.c and .h ) added a test suite in testh5dump.sh.in for ( note : to create testh5dump.sh , one must redo ./configure; this detects the availability of filters and generates testh5dump.sh accordingly) 1) storage layout 2) fill value 3) print reference with path 4) print strings with new lines 5) filters Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8627] Purpose:Quincey Koziol2004-06-091-0/+219
Update shell scripts Description: Switch to generating the testh5dump.sh script at configure time, so we can determine which filters are available to test. Platforms tested: FreeBSD 4.9 (sleipnir) too small to require h5committest