summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dumpgentest.c
Commit message (Collapse)AuthorAgeFilesLines
* Split tools into src and test - remove foldersAllen Byrne2016-10-271-10388/+0
|
* Description:Quincey Koziol2016-09-271-22/+47
| | | | Further warning cleanups: from 667 warnings to 503.
* [svn-r30285] Description:Quincey Koziol2016-08-131-11/+9
| | | | | | | | | More warning cleanups, bringing the build down to 25 unique types of warnings, with 550 warnings in 122 files (down from 28, 770, and 134). Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r30232] HDFFV-9953, -9955: Add new testfiles to h5dump generator and tests.Allen Byrne2016-08-011-18/+445
|
* [svn-r30113] Description:Quincey Koziol2016-06-281-242/+232
| | | | | | | | Clean up warnings (from 2774 -> 1560, with my standard debug build) Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29779] Description:Quincey Koziol2016-04-241-0/+96
| | | | | | | | Bring over some of the tool testing for the new chunk indices. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29274] HDFFV-9698: fix subsetting issues with h5dumpAllen Byrne2016-03-041-66/+111
|
* [svn-r28696] Minor normalization with revise_chunks.Dana Robinson2015-12-171-16/+8
| | | | | Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only
* [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-10/+10
| | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* [svn-r26333] Eliminates gcc warnings due to -Wunsuffixed-float-constants.Dana Robinson2015-03-011-37/+37
| | | | | | | | | | | | - Adds 'F' suffixes for most float constants. - A few constants MUST be of type double. These now receive the long double L suffix and are then cast to double. I do this via a new H5_DOUBLE() macro which was added to H5private.h. Fixes: HDFFV-9148 Tested on: h5committest
* [svn-r26329] Merge of r26069, r26070, and r26072 from the ↵Dana Robinson2015-02-271-14/+4
| | | | | | | | | | | | | | | | | | features/autotools_rework branch. Removed the configure option that allows selective disabling of individual internal filters (fletcher32, shuffle, etc.). This feature mucked up the code with a lot of #ifdefs, saved very little space, and was not scalable to a general scheme for library size reduction. We've decided to remove the feature while we investigate a more general scheme for decreasing the library size. Part of: HDFFV-9086 Tested on: h5committest
* [svn-r25744] Add bitfield and opague datatype file for tests.Allen Byrne2014-10-271-0/+154
| | | | Tested: local linux
* [svn-r25496] Description:Quincey Koziol2014-07-301-14/+14
| | | | | | | | | Merge 64-bit ID changes from branch to trunk. (Plus a few minor cleanups that aren't on the branch) Tested on: Mac OSX/64 10.9.4 (amazon) w/C++ & FORTRAN (h5committested on branch already for a week)
* [svn-r24869] Description:Quincey Koziol2014-03-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Clean up more compiler warnings, plus merge a few Coverity bug fixes from the hdf5_1_8_coverity branch back to the trunk: r20877: Purpose: Fix coverity issue 1723 Description: Modified test_generate in hl/test_image to close file "f" before exit, even if an error occurs. r20879: Issue 63: change check of return of H5Tget_nmembers to <=0. No need to go futher if call fails as well as empty. r20881: Coverity #659 in Run 46: I changed the Line 442 where it tries to check whether FLAG_PRINTED is TRUE. But it had just been set to FALSE. I took out the condition check in the print statement. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & Parallel (too minor to require h5committest)
* [svn-r24471] JAVA-1798: Add the testfiles for hdf-java and the h5dump tests ↵Allen Byrne2013-11-271-1/+508
| | | | | | including the test to read filter data. Tested: cmake and autotools - local linux
* [svn-r24411] Correct file generationAllen Byrne2013-11-071-10/+21
|
* [svn-r24408] Add compound integer tests filesAllen Byrne2013-11-061-0/+490
| | | | Tested: local linux cmake
* [svn-r24101] Description:Quincey Koziol2013-09-051-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* [svn-r24020] Description:Quincey Koziol2013-08-171-2/+9
| | | | | | | | Clean up compiler warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r23038] Corrected last array assignment to use X-1 values for index.Allen Byrne2012-11-161-1/+1
|
* [svn-r23034] Add scalar string test file and testsAllen Byrne2012-11-151-3/+57
|
* [svn-r22881] Correct datatype of scalar array of doublesAllen Byrne2012-10-101-2/+2
| | | | Tested: local linux
* [svn-r22795] Create scalar test files and h5dump tests.Allen Byrne2012-09-201-0/+419
| | | | Tested: local linux
* [svn-r22577] Windows compilers require declarations at top of routine.Allen Byrne2012-07-161-6/+5
|
* [svn-r22552] update commentAllen Byrne2012-07-111-1/+1
|
* [svn-r22550] Correct datatypes in generator and update files for test.Allen Byrne2012-07-111-7/+7
| | | | Tested: local linux with cmake
* [svn-r22546] Correct generation of testfileAllen Byrne2012-07-101-6/+10
|
* [svn-r22544] Add test to verify use of named datatypesAllen Byrne2012-07-101-0/+148
| | | | | HDFFV-2687 Tested: local linux with cmake
* [svn-r22539] Correct indentationAllen Byrne2012-07-101-2100/+2100
|
* [svn-r22516] Add new testfiles for h5dump with eight varieties of ints and ↵Allen Byrne2012-07-051-3/+579
| | | | | | used in an Attribute and Compound datatypes. Tested: local linux using CMake
* [svn-r22496] Add file to test integer sizes for attributesAllen Byrne2012-06-271-47/+241
| | | | Tested: local linux
* [svn-r22391] HDFFV-7999: h5dump did not display H5T_DSET_UTF8.Allen Byrne2012-05-221-0/+50
| | | | | | Changed if/else block to switch like in h5ls, and distinguished between ERROR and UNKNOWN. Reviewed by JKM Tested: local linux
* [svn-r22108] Purpose:Jonathan Kim2012-03-211-1/+1
| | | | | | | | | | | HDFFV-7523 JPSS: h5dump fails to open an attribute when using the -a option to specify an attribute with a slash in the name Description: Update command line help page and test generating file. Previous commits: r22052, r22063 Tested: jam (linux32-LE), koala (linux64-LE), cmake (jam)
* [svn-r21979] Correct HD prefix in tools for strlen and memcpyAllen Byrne2012-02-241-2/+2
| | | | Checked for HD support.
* [svn-r21974] Update HSIZE_T print statements to use correct macro.Allen Byrne2012-02-231-400/+400
| | | | | | Fix some more HD prefix issues in tools. Tested: local linux
* [svn-r20595] Purpose:Jonathan Kim2011-04-211-0/+5
| | | | | | | | | | | | | HDFFV-5948 - CHICAGO: Tools - implement missing external link test cases Description: Add three test cases for h5dump and h5ls. - h5ls: external link to soft link with follow symlink. - h5dump: external link to soft link with follow symlink. - h5ls: external link to soft link without follow symlink. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20577] Bug 1386 - allowing dimension size to be zero. I added test ↵Raymond Lu2011-04-201-0/+41
| | | | | | | | cases in the tests for h5dump and h5diff. I also added the test cases in the CMAKE script. Tested on jam, linew, and amani. Tested CMAKE on jam.
* [svn-r20519] Description:Quincey Koziol2011-04-151-49/+48
| | | | | | | Correct macro names to be more consistent. Tested on: Eyeballed (very simple)
* [svn-r20515] Description:Quincey Koziol2011-04-151-6/+13
| | | | | | | | | | | | Remove old, uneeded configuration customizations for FreeBSD systems. (config/freebsd) Also, convert a large stack variable into a dynamic memory allocation and clean up a few compiler warnings (tools/h5dump/h5dumpgentest.c) Tested on: FreeBSD/32 8.2 (loyalty) w/debug & production FreeBSD/64 8.2 (freedom) w/debug & production
* [svn-r20260] Windows compilers insist that variable declarations are before ↵Allen Byrne2011-03-161-5/+5
| | | | assignement statements
* [svn-r20132] Purpose:Jonathan Kim2011-02-211-1/+1
| | | | | | | | | | | | | | | | | Fixing Bug 2092 - h5dump does not display index for a dataset Description: improve the test case from previous checkin r20108, which also display dataset via region reference. Previous Log: h5dump skip displaying array indices every certain number when the array type dataset is relatively big. The certain number varies according to the size of each array. This checkin fix the skipping array indices problem. This fix also correct indentation of the dataset data output. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake - jam
* [svn-r20108] Purpose:Jonathan Kim2011-02-151-0/+95
| | | | | | | | | | | | | | Fixing Bug 2092 - h5dump does not display index for a dataset Description: h5dump skip displaying array indices every certain number when the array type dataset is relatively big. The certain number varies according to the size of each array. This checkin fix the skipping array indices problem. This fix also correct indentation of the dataset data output. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
* [svn-r20044] Fix bz2127 by dynamically allocating storgae for comments.Allen Byrne2011-02-041-0/+5
| | | | Tested: local linux
* [svn-r19918] Add hh modifier to signed char printf format string. Added ↵Allen Byrne2011-01-051-0/+208
| | | | | | | h5dump test to verify that signed/unsigned datasets print correctly. Bring solution from 1.8 packed bits fix which solved problem on heiwa with Signed char of 8 bits Tested: local linux
* [svn-r19173] Took out several redundant lines when object IDs are closed.Raymond Lu2010-08-051-9/+0
| | | | Tested on jam.
* [svn-r19156] Description:Quincey Koziol2010-07-301-142/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring revisions from Coverity branch back to trunk: r19044: Coverity #449 - Line 1560 called function H5O_chunk_protect for 2 pointers to allocate. But when there's failure on the second one, the first wasn't freed (H5O_chunk_unprotect). We fixed it by freeing the pointers when an error happens. r19045: Fixed coverity issue # 319. Free sec_node in done if it is not NULL. r19046: Add intended but missing assignments to initialize pointers to NULL (coverity issue fixes). r19049: Hdf5_1_8_coverity branch was recreated from hdf5_1_8 branch in revision 18839 without fix for Coverity issue #84 having been propagated to the hdf5_1_8 branch. This revision adds the fix again. r19060: added parentheses to see if they will keep subversion from getting confused r19061: Fix coverity item 139. Fixed incorrect condition for freeing buffer on error. Fix coverity items 20 and 21. Removed unused NTESTS facility from dtypes.c. Cleanup in H5Shyper.c. r19062: Fix coverity item 450. Check to see if chk_proxy has been allocated before attempting to free it. Fix coverity item 454. Check to see if allocation of buf failed in H5D_fill_refill_vl. Fix coverity items 455-457. Initilize hid_t's to -1, check their value before attempting to close them, and check if the close failed. r19063: New fix to address coverity issue #84. Check that pointers in H5Z_xform_find_type are not NULL before passing them to H5T_cmp. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & production (Too minor to require h5committest)
* [svn-r18958] Purpose:Jonathan Kim2010-06-031-12/+12
| | | | | | Fixed Windows compile error. Renamed to use 'gid1' and 'gid2' instead of 'grp1' and 'grp2'. Description: There is variable name confliction with 'grp1' ~ 'grp9' in Windows system. It occurs if H5private.h is included in the code.
* [svn-r18943] Purpose:Jonathan Kim2010-06-021-17/+260
| | | | | | | | | | | | Support follow symbolic links. Description: Add '--follow-symlinks' option to follow symbolic links (soft and external). Update help page according to RM. Remove some warning messages from compiler. Tested: jam, amani and linew
* [svn-r18759] pull r18757 from 1.8 branchAllen Byrne2010-05-111-0/+3
| | | | | | | | | Enable tools lib to be built as a dll on windows. Added two get/set functions for progname and d_status. Also add windows import/export declarations to functions. Updated error_mesg() and warn_mesg() to remove progname argument and use get functions Tested: Windows, linux
* [svn-r18650] Description:Quincey Koziol2010-04-271-3/+3
| | | | | | | | | | | | | | | | | | | Bring back various minor tweaks & cleanups from the revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, 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.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode