Commit Graph

2440 Commits

Author SHA1 Message Date
Allen Byrne
a3e2fabb53 [svn-r24670] HDFFV-8567: Fix cmake tests for changes in reference files due to test script changes in autotools test scripts.
Tested: local linux
2014-01-31 09:15:59 -05:00
Allen Byrne
b7b4e77f12 [svn-r24666] Fix test folder deletion issue
Tested: local linux autotools
2014-01-30 16:27:23 -05:00
Allen Byrne
2f86aa7551 [svn-r24646] HDFFV-8640: Remove xlate_utility by fixing reference files to not add extra lines.
Tested: cmake and autotools local linux
2014-01-27 09:26:21 -05:00
Allen Byrne
ebb6e8e3be [svn-r24504] HDFFV-8629: disable test until review is complete 2013-12-05 12:53:00 -05:00
Allen Byrne
3b23b7eb1a [svn-r24487] HDFFV-8629: repack plugin_none test files.
CMake only until library updates approved.
2013-12-03 08:31:05 -05:00
Allen Byrne
008f2e4017 [svn-r24484] Update version and test name. 2013-12-02 16:00:22 -05:00
Allen Byrne
624a466600 [svn-r24482] HDFFV-8635: remove test of whole file and just test dsets that have szip compression.
Tested local linux with cmake and autotools
2013-12-02 15:32:22 -05:00
Allen Byrne
5e695ce4bc [svn-r24481] HDFFV-8635: disable test because of szip causing different read call then expected. 2013-12-02 14:31:25 -05:00
Quincey Koziol
2d79ba29ed [svn-r24480] Description:
Bring r24479 from 1.8 branch to trunk:

    Fix ph5diff worker command handling so it can correctly respond to
situations where there's no work to perform.  Also, a few minor code cleanups.

Tested on:
    Mac OSX/64 10.9.0 (amazon) w/parallel
    (too minor to require h5committest)
2013-11-30 13:10:36 -05:00
Allen Byrne
2f097704ca [svn-r24471] JAVA-1798: Add the testfiles for hdf-java and the h5dump tests including the test to read filter data.
Tested: cmake and autotools - local linux
2013-11-27 11:01:16 -05:00
Allen Byrne
6c90fd5b0b [svn-r24467] tfilters.h5 was created and checked in on 21 Feb 05, rev 10060, and never regenerated. The code for scaleoffset continued to change and the number of params for scaleoffset changed from 7 to 20 on the checkin of 23 Mar 05, rev 10384.
The h5dump tests only looked at headers and never the data. Data reads would fail with invalid number of params (7 expected 20).
Regenerated file and replacement ddls updated.
New h5dump test will be added to read the data.
2013-11-26 17:08:09 -05:00
Allen Byrne
43690b681c [svn-r24411] Correct file generation 2013-11-07 11:45:25 -05:00
Allen Byrne
8190a5e4b3 [svn-r24408] Add compound integer tests files
Tested: local linux cmake
2013-11-06 13:28:12 -05:00
Allen Byrne
132dfca7d0 [svn-r24403] Cleanup temp test files 2013-11-04 16:12:29 -05:00
Elena Pourmal
7aa4a180e4 [svn-r24400] Maintenance: When the libraries are built and tested in place, several files are left
behind by "make distclean" (see below); modified appropriate Makefile.am files and ran
             bin/reconfigure to create Makefile.in to fix the problem.

Here is the list of the files "make disclean" doesn't remove:

       tools/h5dump/testfiles
       tools/h5repack/testfiles/h5diff_attr1.h5
       tools/h5repack/testfiles/tfamily00000.h5
       tools/h5repack/testfiles/tfamily00010.h5
       tools/h5repack/testfiles/tfamily00002.h5
       tools/h5repack/testfiles/tfamily00004.h5
       tools/h5repack/testfiles/tfamily00006.h5
       tools/h5repack/testfiles/tfamily00008.h5
       tools/h5repack/testfiles/tfamily00001.h5
       tools/h5repack/testfiles/tfamily00003.h5
       tools/h5repack/testfiles/tfamily00005.h5
       tools/h5repack/testfiles/tfamily00007.h5
       tools/h5repack/testfiles/tfamily00009.h5
       tools/h5jam/testfiles/h5jam-ub-nohdf5.txt.err-sav
       tools/h5jam/testfiles/h5jam-help.txt.err-sav
       tools/h5jam/testfiles/h5unjam-help.txt.err-sav
       tools/h5jam/testfiles/h5jam-ub-nohdf5.txt.out-sav
       tools/h5jam/testfiles/h5jam-help.txt.out-sav
       tools/h5jam/testfiles/h5unjam-help.txt.out-sav
       hl/fortran/test/dsetf5.h5
       c++/test/tattr_multi.h5
       c++/test/tattr_scalar.h5
       c++/test/tfattrs.h5
       c++/test/tattr_basic.h5
       c++/test/tattr_compound.h5
       c++/test/tattr_dtype.h5

Tested on jam and emu in place and using srcdir with the svn stat command.

This fix doesn't address two problems:

tool/h5dump/testfiles directory is not removed by "make distclean" and it should be
tools/misc/testfiles directory is removed by "make distclean" and it shouldn't be
2013-11-02 20:21:23 -05:00
Allen Byrne
819b8099e2 [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be cleaned. CMake update to clean testfiles.
Tested: local cmake, autools, and h5committest
2013-11-01 16:15:37 -05:00
Dana Robinson
e6cace9ee4 [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.
Prep work for adding a memory free function, part of HDFFV-8551.

Tested on:
    32-bit LE linux (jam) 
        * with C++, Fortran
        * with thread safety on

    These are minor changes (almost entirely renaming foo functions
    to HDfoo) that don't change functionality.  This should not
    require a full commit test.
2013-10-30 23:20:36 -05:00
Larry Knox
06aa7b6641 [svn-r24285] Eliminate several "passing argument ... with different width due to prototype" warnings by casting constants to size_t where expected by string functions.
Tested on jam, koala,ostrich and platypus with h5committest.
2013-10-10 16:57:04 -05:00
Mohamad Chaarawi
9d954e1136 [svn-r24270] checkin coverity changes from 10/4/2013.
tested with h5committest
2013-10-09 11:55:33 -05:00
Allen Byrne
4611f95d4c [svn-r24224] HDFFV-8529: Space separate define strings
Tested: h5committest
2013-09-30 11:52:03 -05:00
Larry Knox
ab239810e1 [svn-r24194] Don't add hdf5 library dependencies to lib files when --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276.
Tested with h5committest and on hdf-duck.
2013-09-23 20:14:24 -05:00
Allen Byrne
c965b5503b [svn-r24172] Position trunk/1.8 vars in similar location for comparison. 2013-09-19 14:42:45 -05:00
Allen Byrne
0653325f0d [svn-r24167] HDFFV-8513, HDFFV-8522 Plugin testing in h5repack, h5dump.
Add more usage info for UserMacros.
Add new option information about the Plugin default path.

Tested: local linux, jam
2013-09-19 11:38:08 -05:00
Allen Byrne
a8c63e28d5 [svn-r24138] Cast constants to specified type.
Cast smaller vars to larger type.
Cast calculation result to correct type.
Changed int member to hbool_t

Tested: local linux
2013-09-13 16:11:30 -05:00
Allen Byrne
3c021d3a77 [svn-r24137] Cast constants to specified type.
Cast smaller vars to larger type.
Cast calculation result to correct type.

Tested: local linux
2013-09-13 15:34:55 -05:00
Allen Byrne
2465c432f0 [svn-r24124] HDFFV-8345: Changed usage txt to use dsetN instead ofletters for objects in examples.
Tested: local linux
2013-09-11 12:09:06 -05:00
Allen Byrne
175e82e484 [svn-r24120] HDFFV-8345: plugin test properly checks static-exec result to include test.
Tested: jam
2013-09-10 09:24:34 -05:00
Allen Byrne
a1071ada16 [svn-r24118] Comment out test until configure sets conditional correctly 2013-09-09 17:43:57 -05:00
Allen Byrne
f79eac6049 [svn-r24116] Correct indentation and create single exit point.
Tested : local linux
2013-09-09 13:30:25 -05:00
Larry Knox
6b54dac504 [svn-r24115] Reduce warnings for conversions of different widths.
h5committested on jam, ostrich, koala, and platypus.
2013-09-06 17:48:28 -05:00
Allen Byrne
145f1ce9e3 [svn-r24104] HDFFV-8345: add User Defined filters to h5repack.
Reviewed in H5T-61

Tested: local linux - cmake and autotools
2013-09-06 10:15:50 -05:00
Quincey Koziol
5b876c929f [svn-r24101] Description:
Clean up warnings, enable new compiler warning flag(s) and bring back
changes from Coverity branch:

r20813:
Remove the dead code as listed for coverity bug #1722. h5committested.

r20814:
Issue 69: Check return value and throw error if negative return. Also free datatype id on error

r20815:
Use HDstrncpy. --gh

r20816:
Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832.

r20817:
Use HDstrncpy and HDstrncat. --gh

r20818:
Purpose: Fix valgrind issues with h5jam

Description:
Modified h5jam to free strings strdup'd in parse_command_line before exit. Note
that they may still not be freed in case of error, due to the widespread use of
exit().

r20819:
Issue 80: change loop to use int as loop index.

r20820:
Maintenance: Fixed the bug found by coverity CID 788
There were two problems with this function:
    1) it tried to unnecessary free NULL pointer
    2) it tried to allocate c_name buffer that is done by H5Pget_class_name


Tested on:
    Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN
    (too minor to require h5committest)
2013-09-05 15:44:14 -05:00
Larry Knox
d24404ae83 [svn-r24077] Updated -help output for compile scripts for changing default from -noshlib to -shlib when hdf5 is built without static libraries (--disable-static).
Tested with h5committest on jam, koala, ostrich and platypus.
2013-08-27 08:26:37 -05:00
Allen Byrne
68dd16d8f0 [svn-r24066] Eliminate switch default warning by printing err message. 2013-08-23 15:02:32 -05:00
Allen Byrne
d2e10eefd7 [svn-r24058] Coorect usage text wrt dataset subsetting 2013-08-22 15:16:45 -05:00
Allen Byrne
e86655bbf4 [svn-r24057] Add --superblock long name to parser and add tests for both --boot-block and --superblock.
Tested: local linux
2013-08-22 14:57:31 -05:00
Allen Byrne
13a0f5576a [svn-r24053] HDFFV-8498: --minimum option was disabled by HDFFV-8214. Reverted code change and changed default to 0 from 1024. Changed limit test to use h5dump to compare repacked file instead of h5diff.
Corrected test scripts for test folder path

Tested: h5committest and local linux with CMake
2013-08-21 17:11:32 -05:00
Allen Byrne
8c14af82c6 [svn-r24050] HDFFV-8498: --minimum option was disabled by HDFFV-8214. Reverted code change and changed default to 0 from 1024. Changed limit test to use h5dump to compare repacked file instead of h5diff.
Tested local linux with CMake
2013-08-21 15:59:49 -05:00
Quincey Koziol
482a9c28e7 [svn-r24030] Description:
Clean up more compiler warnings.

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN
    (too minor to require h5committest)
2013-08-19 17:13:15 -05:00
Allen Byrne
c502d81a8c [svn-r24029] Move TESTS to seperate file to allow easier editing by all developers.
Tested: local linux
2013-08-19 16:49:44 -05:00
Allen Byrne
b503983d85 [svn-r24023] Added tests to CMakeLists.txt that were only added to the *nix script.
Tested: local linux
2013-08-19 11:26:14 -05:00
Allen Byrne
28c2f17960 [svn-r24022] any_object option should be any_path 2013-08-19 11:02:29 -05:00
Quincey Koziol
308c378ccd [svn-r24020] Description:
Clean up compiler warnings

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-17 15:05:27 -05:00
Vailin Choi
170b7275c0 [svn-r24015] A bug fix when merging changes from the trunk to 1.8 for h5stat bug fix HDFFV-1238:
Fix a problem when using opt_arg that is NULL for the new options added: -l N, -m N, -a N.
h5committested.
2013-08-16 14:36:32 -05:00
Quincey Koziol
453f95c192 [svn-r24011] Description:
Clean up a few warnings

Tested on:
    Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-15 08:24:28 -05:00
Allen Byrne
e8d0919d43 [svn-r24002] Fix 32-bit and valgrind issues with new handle_paths code - correct math of adding a NULL to a string.
Tested: local linux (valgrind) and h5committest
2013-08-13 12:48:57 -05:00
Allen Byrne
4935d0bfab [svn-r23999] Move declaration to top of block - fix for windows. 2013-08-13 08:44:24 -05:00
Allen Byrne
5d0b400f69 [svn-r23996] HDFFV-7989: Add any_path option to search the file for paths. New test added, scripts updated, help text updated.
Tested: local linux
2013-08-12 16:58:31 -05:00
Allen Byrne
a3204d77e7 [svn-r23994] Correct printf % handling 2013-08-12 15:53:54 -05:00
Allen Byrne
f801cf4618 [svn-r23991] Reorder grouping 2013-08-12 14:52:09 -05:00