Commit Graph

429 Commits

Author SHA1 Message Date
Quincey Koziol
cab0d73cb3 [svn-r2988] Purpose:
Updating test files.
Description:
    Updated test files to reflect changes to DDL.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-21 14:35:23 -05:00
Quincey Koziol
75dad07518 [svn-r2987] Purpose:
Bug fixes and misc. code fixing.
Description:
    Updated to reflect current DDL document.  Also changed VL data to be able
    to be able also dump VL data of any other datatype.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-21 14:33:15 -05:00
Bill Wendling
82f9e0338a [svn-r2984] Purpose:
Bug fix
Description:
	The code for determining what a string should print out if it was
	declared as H5T_STR_NULLTERM (C strings), H5T_STR_SPACEPAD
	(Fortran strings), or H5T_STR_NULLPAD (print null characters to
	the end of the line) was mucked. A user had a problem with it and
	suggested a change, but the change didn't seem to work properly.

	Also, if the string was H5T_STR_SPACEPAD, it could have stopped
	when encountering a NULL even if it hadn't gotten to the end of
	the string.
Solution:
	Reworked the code to make it more understandable what's happening
	and to add in support for H5T_STR_SPACEPAD which may have been
	missing before.
Platforms tested:
	Linux
2000-11-21 12:39:38 -05:00
Bill Wendling
f5dad4f23f [svn-r2981] Purpose:
Bug fix
Description:
	If TESTH5TOH4 or TESTH4TOH5 wasn't set, then it would mess up the
	testing process by adding a ``#'' to the for statement (since
	there was a line-continuation in the definition of the macro).
Solution:
	Placed the macro expansions all on one line so that there's no
	junk characters picked up by accident.
Platforms tested:
	OSF1 (Gondolin)
2000-11-20 15:21:30 -05:00
Bill Wendling
9735b6ed76 [svn-r2971] Purpose:
Bug fix
Description:
	With the changing of the spelling error in the h5ls usage
	statement, these testfiles puked.
Solution:
	Corrected them in there.
Platforms tested:
	Linux
2000-11-17 14:04:03 -05:00
Bill Wendling
82323f4c8f [svn-r2967] Purpose:
Spelling Fix
Description:
	Changed ``dispalyed'' to ``displayed'' in usage message.
2000-11-17 13:14:23 -05:00
Bill Wendling
16baf0465b [svn-r2966] Purpose:
Add Test
Description:
	Added test for variable length data types.
Platforms tested:
	Linux
2000-11-17 13:02:23 -05:00
Bill Wendling
d83c9494ad [svn-r2965] Purpose:
Usage Statement Reworking
Description:
	Changed usage statement to correspond to the Tools.html page.
2000-11-17 12:57:01 -05:00
Albert Cheng
9dbe3e5c75 [svn-r2961] Purpose:
Code cleaning
Description:
    Use the variable to rid the warnings of "variable set but not used".
Platforms tested:
    Linux and modi4 -64.  Just compile only.
2000-11-16 23:51:27 -05:00
Bill Wendling
815e70db63 [svn-r2956] Purpose:
Backing out fix
Description:
	The fix I inserted didn't work on all platforms. I'm backing it
	out.
2000-11-16 16:35:59 -05:00
Bill Wendling
0593d93314 [svn-r2950] Purpose:
Bug fix
Description:
	The output of floating point dumps wasn't necessarily standard.
	The h5ls utility does it in a better way.
Solution:
	Changed the output parameters from %g to %1.*g and added the
	appropriate FLT_DIG/DBL_DIG parameter for the `*' in the above.
Platforms tested:
	Linux
2000-11-16 12:49:26 -05:00
Bill Wendling
d197bf4f52 [svn-r2949] Purpose:
Added tvldtypes test to the dumper test generator.
Platforms tested:
	Linux
2000-11-16 12:46:39 -05:00
Bill Wendling
0a4d1506e0 [svn-r2948] Purpose:
Bug fix
Description:
	I was writing things out to the HDF file in big-endian format
	without doing any conversions on the data or anything like that.
	This was causing tests to fail on most machines
Solution:
	Removed the big-endian craziness...But, this kinda resulted in a
	bug in the HDF dumper which Albert and Robb suggested ways of
	fixing.
Platforms tested:
	Linux
2000-11-16 12:45:46 -05:00
Bill Wendling
418e8ef0ca [svn-r2941] Purpose:
Better Test Files
Description:
	These test files check more different types of datatypes for the
	variable length dumping.
Platforms tested:
	Linux
2000-11-15 16:51:29 -05:00
Albert Cheng
e89c46e6b9 [svn-r2938] Purpose:
pathc
Description:
    TFLOPS coredumped on h5ls because when h5ls calls ioctl(TIOCGWINSZ),
    the ioctl() routine coredumped inside.
Solution:
    It is likely that TFLOPS does not support window-size in the
    compute nodes.  Still, it should not coredump.  Bypass it for
    TFLOPS for now.
Platforms tested:
    TFLOPS & modi4 (-64)
2000-11-15 16:01:47 -05:00
Quincey Koziol
825e9ff8ff [svn-r2922] Purpose:
Bug fix
Description:
    [Most] SGIs failed on dumping VL data during the daily tests they
    seem to be initializing variables differently, exposing a bug in dumping
    datasets with scalar dataspaces.

    Also, clean up code to get rid of compiler warnings.
Solution:
    Initilialize variable correctly.
Platforms tested:
    SGI IRIX 6.5 (paz)
2000-11-15 12:12:03 -05:00
Quincey Koziol
f1410eb099 [svn-r2908] Purpose:
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)
2000-11-14 18:48:59 -05:00
Bill Wendling
36acd5381e [svn-r2896] Purpose:
Formatting
2000-11-14 15:13:28 -05:00
Bill Wendling
9703fa02b7 [svn-r2895] Purpose:
Small purify warning fixes
Description:
	Removes some purify warning fixes and memory leakage.
Platforms tested:
	Solaris
2000-11-14 15:12:55 -05:00
Bill Wendling
2145039107 [svn-r2888] The VL dumping isn't ready for prime time just yet. Can't get the H5 file
to be platform independent. Commenting this out so that the nightly tests
don't bomb...
2000-11-13 16:31:42 -05:00
Bill Wendling
7b5c102536 [svn-r2878] Purpose:
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
2000-11-13 12:17:04 -05:00
Bill Wendling
e8745849af [svn-r2876] Purpose:
Test files
Description:
	Test files for the h5dumping of variable length datasets.
Platforms tested:
	Linux
2000-11-13 12:13:21 -05:00
Quincey Koziol
6c603f3e77 [svn-r2875] Purpose:
Code cleanup
Description:
    Eliminated some warnings on O2K platform.
Platforms tested:
    SGI O2K (modi4)
2000-11-13 12:03:59 -05:00
Quincey Koziol
04223a18f4 [svn-r2866] Purpose:
Code cleanup
Description:
    Found more "Have_foo" usage and converted them to "H5_HAVE_foo"
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-11 10:58:12 -05:00
Quincey Koziol
ab5bf9f979 [svn-r2851] Purpose:
Updated for new array datatypes.
Description:
    I missed these tools earlier when I wasn't compiling with HDF4...
Solution:
    Updated them (correctly, I hope) to use the new array datatype instead of
    compound datatype array fields.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 18:01:29 -05:00
Quincey Koziol
2ce142b6ee [svn-r2846] Purpose:
New Feature
Description:
    Updated DDL files for new array output from h5dump.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 16:49:01 -05:00
Quincey Koziol
3499de1b53 [svn-r2845] Purpose:
New Feature
Description:
    Added dumping array datatypes to h5dump and the tool library.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-09 16:48:33 -05:00
Bill Wendling
796b4daf83 [svn-r2842] Purpose:
Recoding of VL dumping.
Description:
	I'm using hyperslabs to select the variable length data. I don't
	have any tests which I've checked in just yet. I'll create those
	later.
Platforms tested:
	Linux
2000-11-09 13:59:41 -05:00
MuQun Yang
a219b97a88 [svn-r2839]
Purpose:
     check in beta release h4toh5 converter
Description:
     1. add copy right and other comments to all .h and .c files
     2. fix bugs on sds unlimited dimension, hdf5 dimensional scale attribute and vdata translating
         from h4 to h5.

Solution:
     2.
        1) for sds with unlimited dimension to be converted into extensible hdf5 dataset,
        on hdf5 side, has to set a default chunk size even though the corresponding hdf4 file is not
	chunked.
        2) in this version, if sds object doesn't have dimensional scale data, we will not show
           the default hdf4 dimensional name ("fakedim0", etc.) in the new hdf5 dimensional scale
	   name attribute.
        3) fix a bug transferring vdata of which the field includes a character array. Make it correctly transfer into the corresponding hdf5 compound data type.


Platforms tested:

      eirene,arabica,baldric,hawkwind,paz,gondolin on new set of hdf4 test files.
2000-11-08 18:14:41 -05:00
MuQun Yang
b62d0a1366 [svn-r2837]
Purpose:
     Adding more expected files for testing h4toh5 converter
     These test files include hdf5 files that are expected converted from hdf4 files for various vdata
     and vgroup cases.
Description:
Solution:
Platforms tested:
     eirene,arabica,hawkwind,paz
2000-11-08 18:01:16 -05:00
MuQun Yang
9486965c4a [svn-r2836]
Purpose:
     Add testing files for h4toh5 converter
     Two more files for testing native float data type sds objects
Description:
Solution:
Platforms tested:
      arabica,eirene,hawkwind,paz
2000-11-08 17:57:35 -05:00
MuQun Yang
c9ec2cdc4d [svn-r2835]
Purpose:
     Adding expected hdf5 files for h4toh5 converter
     Expected files for different testing hdf4 files for sds objects
Description:
Solution:
Platforms tested:
     eirene,arabica,gondolin,paz
2000-11-08 17:53:09 -05:00
MuQun Yang
7fe0f3bb25 [svn-r2833]
Purpose:
    Adding expected testing files for h4toh5 converter
    expected files converted from image object
Description:
Solution:
Platforms tested:
      eirene,arabica,paz,hawkwind,gondolin
2000-11-08 17:37:21 -05:00
MuQun Yang
3846f6a785 [svn-r2831]
Purpose:
    update main test files for h4toh5 converter
Description:
Solution:
Platforms tested:
     eirene,arabica,hawkwind,paz,gondolin
2000-11-08 17:34:12 -05:00
MuQun Yang
50333fe515 [svn-r2829]
Purpose:
    Adding expected files for h4toh5 converter
    two test files for annotation
Description:
Solution:
Platforms tested:
    arabica,eirene,paz,gondolin,hawkwind
2000-11-08 17:32:54 -05:00
MuQun Yang
3baf0d41a7 [svn-r2828]
Purpose:
     Adding testing files for h4toh5 converter
     hdf4 test files for various tests on vgroup(including, hardlink,loop,nameclashing etc.)
Description:
Solution:
Platforms tested:
     arabica,eirene,paz,gondolin,hawkwind
2000-11-08 17:30:05 -05:00
MuQun Yang
69ada20b2a [svn-r2827]
Purpose:
     Adding testing files for h4toh5 converter
     testing files for independent vdatas
Description:
Platforms tested:
    eirene,hawkwind,arabica,paz
2000-11-08 17:26:50 -05:00
MuQun Yang
a1980a656a [svn-r2826]
Purpose:
    Adding testfiles for h4toh5 converter
    more testing files for sds objects in various datatypes
Description:
    see above
Solution:
Platforms tested:
     eirene,arabica,gondolin,paz,hawkwind
2000-11-08 17:24:36 -05:00
MuQun Yang
27dd362814 [svn-r2825]
Purpose:
    Adding testing files for h4toh5 converter
    these files are parts of files that test different datatype sds objects.
Description:
    see above
Solution:
Platforms tested:
     eirene,arabica,gondolin,paz,hawkwind
2000-11-08 17:16:57 -05:00
MuQun Yang
1e7480ad63 [svn-r2824]
Purpose:
     Add testing files for h4toh5 converter
     test files for testing dimensional scale dataset and unlimited dimension case
Description:
     see above
Solution:
Platforms tested:
     eirene,arabica,hawkwind,paz,gondolin
2000-11-08 17:09:31 -05:00
MuQun Yang
f1fb40c1a1 [svn-r2823]
Purpose:
    add several files to test h4toh5 converter on hdf image with different datatype
Description:
    see above
Solution:
Platforms tested:
    eirene,hawkwind,arabica
2000-11-08 17:02:58 -05:00
MuQun Yang
900701f5ae [svn-r2822]
Purpose:
     Add two test files for testing h4toh5 converter to convert image objects associated with attribute and image.
Description:
    see above
Solution:
Platforms tested:
    arabica,eirene,hawkwind
2000-11-08 16:59:02 -05:00
MuQun Yang
73b643a697 [svn-r2821]
Purpose:
     add a hdf4 file to test converter for converter object annotation into hdf5 attribute
Description:
     see above
Solution:
Platforms tested:
     eirene,hawkwind,arabica
2000-11-08 16:54:14 -05:00
MuQun Yang
771c8b333c [svn-r2820]
Purpose:
    adding an hdf4 testing file for annotation
Description:
    see above
Solution:
Platforms tested:
     eirene,hawkwind,arabica
2000-11-08 16:51:26 -05:00
MuQun Yang
7ae3c459ad [svn-r2819]
Purpose:
    add more hdf4 test files for converter
Description:
    in this script, run CONVERT test files
Solution:
    Add CONVERT h4file h5file in this script
Platforms tested:
     eirene,hawkwind,arabica
2000-11-08 16:42:28 -05:00
Albert Cheng
0556db98e2 [svn-r2794] Purpose:
"bug fix"
Description:
    the h5ls tests sometimes failed because the tool sometimes prints
    the tool name in the help message as "lt-h5ls" while the
    expected result has it as "h5ls".  This was the tools pulled its
    name from argv[0].
Solution:
    Hardcode the progname as "h5ls" and blocked out the code that
    pulls the program name from argv[0].  The better solution is
    to find a way to create the real binary with the orginal tool
    name.
Platforms tested:
    linux
2000-11-03 00:12:47 -05:00
Albert Cheng
48b4b45481 [svn-r2790] Purpose:
new feature
Description:
h5tools.c:
    Created h5tools_init() and h5tools_close() for the initialization
    of the h5tools library and closing of it.  With this, the rawdatastream
    and other internal structures can be initialized properly.
h5tools.h:
    added prototypes for h5tools_init and h5tools_close.
h5dump.c:
h5ls.c:
    Added the calls for h5tools_init() and h5tools_close().
Platforms tested:
    IRIX64 -64 parallel and Linux
2000-11-01 23:59:51 -05:00
Robb Matzke
189ed5eb75 [svn-r2785] ./hdf5/tools/h5ls.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (main)
	Backed out last change -- h5ls is a serial application and is
	never run with mpirun.
2000-10-31 15:51:58 -05:00
Robb Matzke
350fa2af78 [svn-r2781] ./hdf5/tools/h5ls.c
* 2000-10-31 Robb Matzke  <matzke@llnl.gov> (main)
	Added calls to MPI_Init() and MPI_Finalize() for parallel
	versions in order to prevent errors about unrecognized
	command-line options.
2000-10-31 14:40:59 -05:00
Robb Matzke
e6f4a8d4fa [svn-r2779] ./hdf5/tools/testfiles/tnestcomp-1.ls
* 2000-10-31 Robb Matzke  <matzke@llnl.gov>
	Expected h5ls output.
2000-10-31 13:10:21 -05:00