Commit Graph

252 Commits

Author SHA1 Message Date
Patrick Lu
29af1961ac [svn-r1962] update the name of the file 2000-02-15 13:25:40 -05:00
Patrick Lu
e6a75db5e6 [svn-r1961] update the names of the files 2000-02-15 13:21:22 -05:00
Patrick Lu
c6df9ddcea [svn-r1960] updated again 2000-02-15 13:19:53 -05:00
Patrick Lu
8188ff065d [svn-r1959] updated to remove an error in the name 2000-02-15 13:18:33 -05:00
Patrick Lu
f6d7c68b75 [svn-r1958] updated the ddls for the changes that were made to the dumper 2000-02-15 10:58:44 -05:00
Patrick Lu
015079ab20 [svn-r1854] fixed a bug 1999-12-03 15:09:20 -05:00
Patrick Lu
6660a174c2 [svn-r1853] updated these files to reflect the changes in the format for the dump output 1999-12-03 14:48:34 -05:00
Albert Cheng
072143ba88 [svn-r1519] Updated the expected output according to the changes Patrick just
made.
1999-07-20 16:43:16 -05:00
Patrick Lu
1285b17e96 [svn-r1513] moved the string after the array 1999-07-19 13:05:41 -05:00
Quincey Koziol
fe79dac33b [svn-r1508] Updated DDL files for new dumper output. 1999-07-17 19:00:51 -05:00
Albert Cheng
872c45010e [svn-r1498] Updated the expected output file since h5dumptst has changed the
content of the corresponding h5 file.
1999-07-16 16:54:04 -05:00
Quincey Koziol
9d85d21ff6 [svn-r1441] Regenerated HDF5 testfiles. 1999-07-07 15:19:58 -05:00
Patrick Lu
2f43dfaddd [svn-r1429]
update the ddl so the occurences of H5T_STD_I8LE are not big endian
1999-07-06 13:42:32 -05:00
Patrick Lu
1893820e08 [svn-r1414]
fixed a typo from the last one
1999-07-02 13:15:55 -05:00
Patrick Lu
9a98a588d8 [svn-r1413]
added the comment at the top
1999-07-02 13:14:36 -05:00
Patrick Lu
f5e406b3aa [svn-r1412]
added a comment at the top that tells what the command was to generate the file
1999-07-02 13:11:52 -05:00
Patrick Lu
d16874dcad [svn-r1411]
fixed a bug.  need the comment at the top of the file
1999-07-02 13:08:57 -05:00
Patrick Lu
a2850083e7 [svn-r1410]
updated the .h5 files and the ddl's to show the new results
1999-07-02 13:00:15 -05:00
Patrick Lu
98a9636474 [svn-r1408]
new testfiles for the references.  created by h5dumptst
1999-07-02 09:52:31 -05:00
Patrick Lu
d619a1d3e6 [svn-r1407]
the ddl's for the new test files
1999-07-02 09:51:27 -05:00
Patrick Lu
95064e6f60 [svn-r1406]
a test file that is created from the h5dumptst.  ues it to test enums
1999-07-02 09:48:57 -05:00
Albert Cheng
2133b0120f [svn-r1395] Moved to the upper directory. 1999-06-30 13:09:37 -05:00
Patrick Lu
f623908727 [svn-r1389]
added 2 functions to create a file for data regions and obj references
1999-06-28 13:00:03 -05:00
Patrick Lu
78f622071f [svn-r1384]
added a function to create an enum test file
1999-06-25 14:25:52 -05:00
Patrick Lu
71500ff8e1 [svn-r1367]
made a small change so that windows would stop complaining.  the change involved
using some type casting.  the change was surrounded by a #define WIN32
1999-06-21 10:26:00 -05:00
Albert Cheng
855d10e8ee [svn-r1338] Removed the tools/testfiles/*.dmp which are no longer used. 1999-06-13 20:55:17 -05:00
Albert Cheng
a45d0d96a2 [svn-r1336] h5toh4 test script used to compare the output of hdp applied on
the generanted hdf files against saved output of hdp.  This did not
work well because whenever the hdp changes its output format, the
tests failed unnecessarily.  The tests also failed if the test machine
uses a different version of HDF library from the HDF5 development
machine.

Changed the algorithm to compare the generated HDF files against
saved HDF files (first by a simple cmp; if that fails, compare the
output of the host machine's hdp on both HDF files.)

Saved HDF files are stored in testfiles/Expected.

Tested on Hawkwind (FreeBSD) with srcdir option and Baldric (Solaris)
without srcdir option.
1999-06-13 19:39:25 -05:00
Albert Cheng
4635285d64 [svn-r1295] Previous version contained incorrect output from previous h5dump.
Updated it to reflect correct output.
1999-06-02 19:52:24 -05:00
Quincey Koziol
39d4289d7b [svn-r1264] Fixed output of hdp comparison files to align with the output from the v4.1r3
dumper.
1999-05-19 19:46:07 -05:00
Paul Harten
e5376cafb4 [svn-r1172] Purpose:
New feature

Problem:
    The h5toh4 converter tester - testh5toh4, is set up to place output
    files in same directory as input files.  A difficulty comes up when
    the input files come off a write-protected media, such-as CDROM.

Solution:
    Rather than using "cd" to change directory and referencing files by
    short filename only, "input directory" and "output directory" are
    defined explicitly, and files are always referenced with pathnames
    included.  For cases when the converter generates the output filename,
    a copy of the input file is first placed in the "output directory".
    The copied input file is used by h5toh4 and then removed.

    On Solaris2.5, the following sequence of commands seemed to work fine:
    $ gunzip < hdf5-1.1.72.tar.gz | tar xf -
    $ chmod -R ugo-w hdf5-1.1.72
    $ mkdir build
    $ cd build
    $ ../hdf5-1.1.72/configure --enable-production --disable-debug \
    $   --with-hdf4=...  --with-zlib=...
    $ make check

    This change should allow the tester to be used when the hdf5 source
    is on a read only media like a CDROM.

Platform tested:
    Solaris2.5
1999-04-02 16:38:30 -05:00
Paul Harten
f7ffb9e511 [svn-r1055] Purpose:
Bug fix

Problem:
    The hdp dumper output files used in the h5toh4 converter test
    program have the result of the latest changes to the HDF4 library,
    but the converter was to maintain compatability with HDF4.1r2.

Solution:
    Regenerate the HDF4.1r2 version of the hdp dumper ouput files to
    be used for the h5toh4 converter test program.

Platform tested:
    Solaris2.5
1999-02-02 16:09:35 -05:00
Paul Harten
ff7883566f [svn-r1046] Purpose:
New feature

Solution:
    Modified h5dumptst.c to generate more single dimension
    datasets of H5T_STRING type held in file tstr2.h5.

Platform tested:
    Solaris2.5
1999-02-01 18:14:38 -05:00
Ruey-Hsia Li
f8d25b3fcb [svn-r1041] Added the string test file. 1999-02-01 03:56:57 -05:00
Ruey-Hsia Li
0e204c7c06 [svn-r1040] Added the expected output for string test. 1999-02-01 03:54:21 -05:00
Ruey-Hsia Li
9bb068f3f3 [svn-r1039] Added string tests and temporarily disabled test_compound_dt2() test.
Reflected the format changes to the expected output.
1999-02-01 03:53:27 -05:00
Quincey Koziol
847043cf52 [svn-r1006] Updated output against the current version of the HDF4 dumper in CVS. 1999-01-06 16:27:48 -05:00
Paul Harten
2aefbf7603 [svn-r1004] Purpose:
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
1999-01-05 14:40:32 -05:00
Quincey Koziol
b381963715 [svn-r1003] Fixed a couple of typos 1999-01-04 19:09:05 -05:00
Ruey-Hsia Li
38309fb3f6 [svn-r982] Added test for loop detection.
Updated expected output for dumper automatic tests.
Removed redundant tests.
1998-12-21 17:34:42 -05:00
Paul Harten
7d9d6add9d [svn-r977] Purpose:
New feature

Solution:
    Added some new new tests to show that paths involving HARDLINKS
    and paths involving SOFTLINKS convert existing objects from H5 to
    H4 the same way that paths involving no links does.

Platform tested:
    Solaris2.5
1998-12-20 22:50:15 -05:00
Ruey-Hsia Li
bf0208d474 [svn-r975] Put back Paul's updates. 1998-12-18 10:02:13 -05:00
Ruey-Hsia Li
c91120b4b8 [svn-r973] Added tests for scalar data space, string data type, loop detection and
compound data type.
1998-12-17 16:53:07 -05:00
Robb Matzke
09aaf83332 [svn-r971] Changes since 19981214
----------------------

./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.
1998-12-17 14:35:20 -05:00
Paul Harten
bdc304d612 [svn-r958] Purpose:
New feature

Solution:
    Testing of Extendable Dataset support in h5toh4 converter when
    extendable dimension is first dimension.

Platform tested:
    Solaris2.5
1998-12-01 16:56:14 -05:00
Paul Harten
4445745e51 [svn-r940] Purpose:
New Feature

Solution:
    These files are the expected results of the HDF4 hdp dumper,
    which has been executed in the following order:

    hdp dumpvg file.hdf > file.dmp
    hdp dumpvd file.hdf >> file.dmp
    hdp dumpsds file.hdf >> file.dmp

Platform tested:
    Solaris2.5, HP10.20
1998-11-21 15:04:53 -05:00
Ruey-Hsia Li
8d2cb24e51 [svn-r827] Updated expected output for dumper tests. 1998-10-29 01:40:30 -05:00
Ruey-Hsia Li
8460a082a4 [svn-r729] Added expected output for dumper option test. 1998-09-28 10:49:18 -05:00
Ruey-Hsia Li
af405e8a6f [svn-r728] Added tests and expected optput for dumper options. 1998-09-28 10:12:14 -05:00
Ruey-Hsia Li
970f5f068c [svn-r667] Revised output because now the h5dump tests are done in
the directory testfiles.
1998-09-03 15:47:17 -05:00
Ruey-Hsia Li
2bbe015b85 [svn-r665] HDF5 binary files for h5dump tests. Generated by h5dumptst.c. 1998-09-03 15:43:57 -05:00
Ruey-Hsia Li
5a1be3bda3 [svn-r664] Initial version of program that generates hdf5 binary files for
h5dump tests.
1998-09-03 15:20:02 -05:00
Ruey-Hsia Li
85bd27dbd7 [svn-r663] Expected output for the h5dump test. 1998-09-03 15:16:05 -05:00