summaryrefslogtreecommitdiffstats
path: root/tools/testh5dump.sh
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r3248] Purpose:Bill Wendling2001-01-091-8/+8
| | | | | | | | | | | | New Feature Description: Changed the command line flags in the h5dumper so that they accept both short and long flags. The flag syntax for some have changed (I.e., object ids are no longer -v but -i and -header is now -H or --header, etc.) A new function is added called get_options which can be used for all other tools as well. Platforms tested: Linux
* [svn-r3230] Purpose:Quincey Koziol2001-01-031-3/+3
| | | | | | | | Extra testing Description: Added tests to dump empty datasets to the h5dump and h5ls testing. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3016] Purpose:Quincey Koziol2000-11-291-3/+3
| | | | | | | | | Re-enabling features. Description: Re-add the tests which had been core-dumping on a couple of platforms, now that the underlying bug is fixed. Platforms tested: FreeBSD 4.2 (hawkwind) & Solaris 2.6 (baldric)
* [svn-r2992] Purpose:Quincey Koziol2000-11-211-3/+5
| | | | | | | | | | | Bug workaround Description: tarray4.h5 and tdvltypes4.h5 are causing core dumps on modi4 Solution: Commented out those tests for now. I'll take a look at them after the code freeze for the beta-release is finished. Platforms tested: O2K (modi4)
* [svn-r2988] Purpose:Quincey Koziol2000-11-211-1/+15
| | | | | | | | Updating test files. Description: Updated test files to reflect changes to DDL. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2908] Purpose:Quincey Koziol2000-11-141-1/+1
| | | | | | | | | | | | | | | Bug fix. Description: VL datatype dumping was not working correctly on most machines because the "native" version of the variable-length type wasn't being generated for the printing process. Re-enabled VL dumping test Solution: Generate "native" version of the VL datatype to read in for printing, also some code cleanup in the VL dumping algorithm. Platforms tested: FreeBSD 4.1.1 (hawkwind) & Solaris 2.6 (baldric)
* [svn-r2888] The VL dumping isn't ready for prime time just yet. Can't get ↵Bill Wendling2000-11-131-1/+1
| | | | | | | the H5 file to be platform independent. Commenting this out so that the nightly tests don't bomb...
* [svn-r2878] Purpose:Bill Wendling2000-11-131-0/+3
| | | | | | | | | | Feature Description: Variable length data dumping for simple (i.e., either SCALAR or 1-Dim array variable length datatypes) should work. Added to the tests... Platforms tested: Linux
* [svn-r2732] Purpose:Albert Cheng2000-10-241-0/+3
| | | | | | | | | | New tests Description: Added a new test file (tsaf.h5) for h5dump and h5ls. The test file was created by lib SAF team. This file used to cause previous version of hdf5 tools to core dump. Platforms tested: IRIX64 -64, linux
* [svn-r2723] Purpose:Albert Cheng2000-10-241-34/+36
| | | | | | | | | tidy it up Description: Change the variable names so that it looks more generic. Plan to make it a generic script test template. Platforms tested: IRIX64-64, linux, solaris 2.7
* [svn-r2046] added a test for the tnestedcomp.h5 test.Patrick Lu2000-03-211-0/+3
|
* [svn-r1521] Forgot to change the arguments for the $diff command when I changedAlbert Cheng1999-07-201-2/+2
| | | | | them for $cmp the last time. Updated it. now it works for --srcdir option too.
* [svn-r1352] Changed the '\n' argument to '\012' since some other machines ↵Albert Cheng1999-06-161-1/+1
| | | | | | | (solaris, irix) misinterpreted it to mean deleting the letter 'n'. Tested in IRIX and solaris and FreeBSD machines.
* [svn-r1322] Removed the reformating part. The output of h5dump shouldAlbert Cheng1999-06-091-10/+2
| | | | be identical in all platforms. Tested in O2K.
* [svn-r1290] TFLOPS needs a launching problem even for single process execution.Albert Cheng1999-05-281-1/+1
| | | | Use RUNSERIAL to launch it.
* [svn-r1283] Changed the shell to exit with number of errors encountered duringAlbert Cheng1999-05-261-1/+2
| | | | test. This would signal to make something is incorrect.
* [svn-r1151] Changes since 19990318Robb Matzke1999-03-191-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./Makefile.in ./configure.in ./configure [REGENERATED] ./src/H5config.h.in [REGENERATED] ./config/commence.in ./config/conclude.in ./config/dec-osf4.x ./config/depend.in ./config/freebsd ./config/linux-gnu ./config/linux-gnulibc1 ./config/linux-gnulibc2 ./config/solaris2.x ./examples/Makefile.in ./src/Makefile.in ./test/Makefile.in ./testpar/Makefile.in ./tools/Makefile.in ./tools/testh5dump.sh Changes that allow hdf5 to be configured and compiled in a directory other than the source directory. This is especially useful if you want to concurrently compile with different compilers and/or compile flags, or if the hdf5 source is on read-only media like a CDROM. The changes were surprisingly easy ;-) Here's what you can do now... $ mkdir /tmp/build1 # or something $ cd /tmp/build1 $ /cdrom/hdf5/configure # where ever the source is $ make Paul, you'll have to change the testh5toh4 script similar to the way I changed testh5dump.sh. I started working on it but then gave up because of a number of problems: (1) I had to comment out all the tests that let h5toh4 choose the output file name because it always tried to put the output file in the same directory as the input file, (2) if path names are used during the h4 dump then they interfere with the diff. The test works fine when run in the source directory, but try this instead: $ gunzip <hdf5-1.1.67.tar.gz |tar xf - $ chmod -R ugo-w hdf5-1.1.67 $ mkdir build $ cd build $ ../hdf5-1.1.67/configure $ make check Dan, I didn't modify the pablo/Makefile.in because I have no way to test it. I think all you need to do is add a couple lines before the @COMMENCE@ line and add a couple search directories for header files. Anyway, it seems like almost an exact duplicate of the src/Makefile.in, so it shouldn't be a problem... ./Makefile.in Removes a few more temporary files during make clean and distclean. ./configure.in I fixed the creation of the time-stamp files so that the initial make doesn't have to regenerated all the makefiles (only GNU make users will see any change). ./src/H5R.c Changed a return type from `intn' to `int' for an API function. ./src/H5detect.c Added the volatile qualifier to a couple more variables. ./tools/h5tools.c Fixed a compiler warning about an unused local. ./tools/h5toh4.c Initialized `optind' to 1 because it's zero on my system. It should always be one on a unix system. ./tools/testh5toh4 Redirected "broken pipe" messages to /dev/null so outut is formatted correctly.
* [svn-r1038] Did some work on the output format for compound data and string.Ruey-Hsia Li1999-02-011-0/+3
| | | | Also added test script for string.
* [svn-r1004] Purpose:Paul Harten1999-01-051-0/+5
| | | | | | | | | | | | | | | | Conform closer to other test print-out. Solution: Added "All h5dump tests passed." statement to output of testh5dump.sh when appropriate. Similarly, added "All h5toh4 tests passed." statement to output of testh5toh4 when appropriate. Also, added the testing of converting H5 files with loop pathways into H4 files with recursive references. Platforms tested: Solaris2.5, Digital Unix 4.0
* [svn-r983] Added tests in testh5dump.sh.Ruey-Hsia Li1998-12-211-13/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Features of this version of dumper * loop detection * data type ** atomic type -> H5T_INTEGER (H5T_STD_XXXXX) -> H5T_FLOAT (H5T_IEEE_XXXXX) -> H5T_STRING (H5T_C_S1, H5T_FORTRAN_S1) ** committed/transient/unamed compound type * data space ** scalar space ** simple space * dataset dumper can display dataset's ** attribute ** type ** space ** data * group dumper can display group attributes and group members which include ** named/unamed data type ** group ** dataset ** softlink * attribute dumper can display attribute's ** type ** space ** data * hard link * soft link * format of data ** fit on 80 columns ** end of line after each row (more work will be done on data.)
* [svn-r971] Changes since 19981214Robb Matzke1998-12-171-195/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./INSTALL Added warning that enabling debugging code can adversely affect performance even when the debugging isn't turned on at run-time. Performance testing shows that under certain circumstances (like data type conversions of compound types) the H5_timer functions, although only a few lines each, contribute a fairly large percent to the execution time. ./src/H5T.c ./src/H5Tpkg.h ./src/H5Tpublic.h Improved the H5Tunregister() function to make unregistering more flexible. It takes the same arguments as H5Tregister() but also accepts wild cards. All conversion functions that match the H5Tunregister() search criteria are removed from the global type conversion table. The H5Tregister_hard() and H5Tregister_soft() were combined into a single function called H5Tregister() which is the counterpart to H5Tunregister(). A new `persistence' argument was added to differentiate between the two types of conversion functions. The application is allowed to register a hard conversion function for the no-op conversion path although the library isn't obligated to call it (it usually does). This is mostly for completeness, but the application might use it to help determine if the raw data pipeline was able to use the optimized path for the case when no type conversion is necessary. The library doesn't allow this path to be unregistered although the application can redefine it as often as it likes. Fixed the type conversion tables in preparation for MT-safety and to fix previosly-known design bugs wrt. unregistering conversion functions or changing the C function associated with a conversion path. The MT-safety stuff is documented in a separate white paper. Increased the conversion function debugging name from 9 characters to 31 characters so the output can be more descriptive. Moved conversion path statistics from the H5T_cdata_t member into the conversion path itself. This makes H5T_cdata_t contain only application-visible data structures. ./src/H5A.c ./src/H5D.c ./src/H5Ofill.c ./src/H5P.c ./src/H5T.c Improved the way type conversion functions are called so the caller doesn't have to check for data type debugging and increment type conversion timers and statistics. Changed check for no-op conversion since it is now application-definable and there may even be more than one definition at a time in a multi-threaded application (one thread might be using the no-op conversion path when some other thread changes its definition -- the first thread still sees the original defintion until it's done with the operation). ./doc/html/Datatypes.html Updated the user guide to reflect the changes to data type conversion registration functions. ./bin/trace ./src/H5.c Added tracing support for the new H5T_pers_t data type. ./test/dtypes.c Added printf to display alignment value if non-aligned data types are being tested. ./test/h5test.c Modified the H5Tunregister() calls to use the new arguments. All 94 of those calls can be replaced by a single call to the new H5Tunregister() function. ./src/H5.c Added HAVE_GETTIMEOFDAY around an auto variable and initialized the elapsed time to zero when gettimeofday() is not available. ./src/H5F.c ./src/H5Fprivate.h ./src/H5P.c Added an H5*_init() functions which do the same thing as H5*_init_interface() but can be called from other packages and don't do anything if the interface is already initialized. This fixes a couple memory leaks in applications that repeatedly close and open the library with H5close(). ./src/H5Tconv.c Optimized some data alignment code in the hardware conversion functions. Hardware conversions accumulate statistics about source and destination data alignment and print that information when the conversion function is unregistered (usually when the application exits) if data type debugging is compiled into the library and enabled at run-time. The conversion caching was cleaned up for the compound data type conversion function. It now caches conversion paths in a manner that will be MT-safe and is much simpler than the old method. Also cleaned up some array index maps. ./src/H5detect.c Fixd mispelling of alingemnt. ./src/H5private.h Changed `TRUE' to `1' in assignment to interface_initialize_g in FUNC_ENTER macro definition. ./tools/testh5dump.sh Completely rewritten to make it shorter, better documented, and conforming to most of the other test outputs. The comparison of the actual output with the expected output is insensitive to differences in white space. The test now passes for the first time on Linux where the output width wasn't as expected but the output was otherwise correct. ./tools/testfiles/tall-1.ddl ./tools/testfiles/tall-2.ddl ./tools/testfiles/tall-3.ddl ./tools/testfiles/tattr-1.ddl ./tools/testfiles/tattr-2.ddl ./tools/testfiles/tattr-3.ddl ./tools/testfiles/tattr-4.ddl ./tools/testfiles/tcomp-1.ddl ./tools/testfiles/tcomp-2.ddl ./tools/testfiles/tcomp-3.ddl ./tools/testfiles/tcomp-4.ddl ./tools/testfiles/tdset-1.ddl ./tools/testfiles/tdset-2.ddl ./tools/testfiles/tdset-3.ddl ./tools/testfiles/tdset-4.ddl ./tools/testfiles/tgroup-1.ddl ./tools/testfiles/tgroup-2.ddl ./tools/testfiles/tgroup-3.ddl ./tools/testfiles/tlink-1.ddl ./tools/testfiles/tlink-2.ddl ./tools/testfiles/tlink-3.ddl ./tools/testfiles/tlink-4.ddl ./tools/testfiles/tlink-5.ddl ./tools/testfiles/tslink-1.ddl ./tools/testfiles/tslink-2.ddl Changed `../h5dump' to just `h5dump'. ./config/alpha-dec-osf4.0 Added more warning and optimization switches to the native compiler.
* [svn-r825] Added features:Ruey-Hsia Li1998-10-291-1/+10
| | | | | | | * display selected named data type * display named/unamed data type * hard link Also added testing scripts in testh5dump.sh.
* [svn-r727] Implemented dumper command line options.Ruey-Hsia Li1998-09-281-5/+23
| | | | Added tests for dumper options.
* [svn-r666] Added TESTS entries to Makefile.in for automatic tests.Ruey-Hsia Li1998-09-031-0/+186
Initial version of testh5dump.sh which runs the h5dump tests.