Commit Graph

13319 Commits

Author SHA1 Message Date
Quincey Koziol
c0b2724d4d [svn-r23223] Description:
Revert use of snprintf() for sprintf(), as it is not supported on Windows.
(And file a bug, http://jira.hdfgroup.uiuc.edu/browse/HDFFV-8302, for the
general problem)

Tested:
    Mac OSX/64 10.8.2 (amazon)
2013-02-04 09:42:21 -05:00
HDF Tester
b65a911b8a [svn-r23221] Snapshot version 1.9 release 142 2013-02-03 11:20:03 -05:00
Quincey Koziol
a3e98d0e36 [svn-r23219] Description:
Bring reviewed changes from Coverity branch back to trunk (QK & JK):

r20457:
Coverity issue 691: return of H5duo could be negative. Fixed by using
STDOUT_FILENO and redesign parse_command_line and main to cleanup file
allocations. The output_file var is null when using stdout. In cleanup do not
close output_file if NULL.

r20510:
Initialize ufid = -1 and predicate HDclose call on ufid != -1

r20511:
Purpose: Fix coverity issue 1715

Description: Free "file" and nested data on failure in H5FD_core_open.

r20512:
Initialize ifid = -1 and predicate HDclose call on ifid != -1

r20514:
Initialize h5fid = -1 and predicate HDclose call on h5fid != -1

r20516:
Added else branch to the if (ret_value < 0) check.

r20522:
Addressed coverity issues 930-933, 850, 836, 835, 1307.  All minor 
potential buffer overwrite bugs, or coverity errors.  Fixed by replacing
strcpy and sprintf with strncpy and snprintf.

r20523:
fixed coverity issues 68, 1120, 1116i

r20524:
Check  H5Z_SZIP->encoder_present < 1 assuming 0 represents absence.

r20601:
Purpose: Fix coverity issues 1703-1705

Description: Modified the cleanup code in test_free in accum.c to reset
allocated buffers to NULL after they are freed, and modified the error cleanup
code to check if these buffers are NULL before freeing them.  Also fixed some
unrelated warnings in accum.c.

r20602:
Use HDsnprintf and HDstrncat

r20603:
Purpose: Fix coverity issues 808-809

Description: Modified test_core in vfd.c to check the returns from malloc, and
keep track of whether points and check are allocated by setting them to NULL
when they are not.  Added code to free points and check on error if they are
not NULL.  Also fixed unrelated warnings in vfd.c.

r20604:
Use HDstrncpy.

r20605:
Use HDstrncpy and HDstrncat.

r20606:
Purpose: Fix coverity issue 807

Description: Modified long_compact in stab.c to keep track of whether objname is
allocated by setting it to NULL when it is not.  Added code to free objname on
error if it is not NULL.

r20607:
Changed string function calls to use versions that specify the string length
to fix coverity issues 832 and 839.


Tested on:
    Mac OSX/64 10.8.2 (amazon)
    (Too minor to require h5committest)
2013-02-01 20:53:32 -05:00
Peter Cao
5140343f45 [svn-r23217] add scalr vlen string datasets 2013-01-31 17:15:15 -05:00
Allen Byrne
415aa7e257 [svn-r23216] Add newline for special case of only raw data to stdout 2013-01-31 15:51:23 -05:00
Allen Byrne
b84234d23c [svn-r23209] Change "diff -b" to just "cmp" for tests. diff is for text files and the ddl redirect does not have an ending newline. 2013-01-31 09:28:04 -05:00
Peter Cao
9d23b171a5 [svn-r23208] adding a large compound dataset to the test file 2013-01-30 17:06:40 -05:00
Peter Cao
4cb3d328ca [svn-r23207] add the new test file to the list. 2013-01-30 16:09:56 -05:00
Peter Cao
d42db65e89 [svn-r23206] minor fixes for number of attributes to be created. 2013-01-30 15:53:15 -05:00
Peter Cao
7461ce3958 [svn-r23205] correct a typo in the instruction. 2013-01-30 15:06:46 -05:00
Peter Cao
1b4769d016 [svn-r23204] Update help information. 2013-01-30 15:00:19 -05:00
Peter Cao
ab2f0d00f3 [svn-r23203] Add test program to generate test file for checking performance. 2013-01-30 14:37:33 -05:00
Allen Byrne
3b787c97d3 [svn-r23202] Add another warning to ignore list 2013-01-29 14:33:55 -05:00
Allen Byrne
6fca8e80d0 [svn-r23201] Correct option text 2013-01-29 14:31:27 -05:00
Allen Byrne
82ac7b92e3 [svn-r23198] Remove -q option from diff as some OS do not support it.
Tested: local linux
2013-01-24 09:13:47 -05:00
Albert Cheng
cf1821d116 [svn-r23197] prints out what and where the log files are.
Set it NOT to submit result to the CDASH.
2013-01-23 18:22:39 -05:00
Raymond Lu
2233570f16 [svn-r23196] I changed the call to H5P_object_verify to H5I_object as the header file H5Iprivate.h is included but not H5Pprivate.h.
Tested on jam.
2013-01-23 10:37:51 -05:00
Allen Byrne
81a6f5be7c [svn-r23195] Compares without end of file newlines
Tested: duck
2013-01-23 10:16:14 -05:00
Allen Byrne
5650be2d1a [svn-r23193] Rename ddl export file and force file write on copy for windows.
Tested: local linux
2013-01-23 08:48:54 -05:00
Allen Byrne
ff421d9424 [svn-r23190] HDFFV-8285: Add suppress ddl option.
Tested: local linux
2013-01-22 15:43:12 -05:00
Allen Byrne
0b107827ec [svn-r23185] Comment out unimplemented tests 2013-01-22 09:00:05 -05:00
Albert Cheng
488453cdfc [svn-r23184] Addition of cmakehdf5. 2013-01-21 23:06:24 -05:00
HDF Tester
37d1a0330a [svn-r23180] Snapshot version 1.9 release 141 2013-01-20 11:23:56 -05:00
Allen Byrne
3ddf8006a1 [svn-r23178] Comment out unimplemented tests 2013-01-18 14:49:11 -05:00
Allen Byrne
b807327433 [svn-r23177] Adjust mkdir to create all dependent folders 2013-01-18 14:33:00 -05:00
Allen Byrne
c352249db1 [svn-r23176] Separate testfiles into subdirs of TestDir to avoid parallel test errors trying to copy a reference file over when already in use.
Tested: local linux
2013-01-18 10:51:59 -05:00
Allen Byrne
769c50cbdc [svn-r23175] Comment out uncommitted tests. 2013-01-18 08:19:58 -05:00
Allen Byrne
0068ead81c [svn-r23174] Correct list items 2013-01-17 14:57:29 -05:00
Allen Byrne
0aba80fb13 [svn-r23173] export files must be handled differently on windows 2013-01-17 14:55:39 -05:00
Allen Byrne
a02d99ab61 [svn-r23170] Switch script to copy files to TESTDIR and execute
Tested: h5committest
2013-01-16 14:23:25 -05:00
Allen Byrne
ceb07d21b0 [svn-r23169] HDFFV-8169: String binary dump test scripts 2013-01-16 13:38:58 -05:00
Allen Byrne
c80e3a0d13 [svn-r23168] HDFFV-8169: String binary dump testfiles 2013-01-16 13:35:48 -05:00
Albert Cheng
629b737016 [svn-r23167] Removed the working in Jam only statement since it works for all THG unix
platforms except Linew (SunOS).
2013-01-16 11:08:38 -05:00
Allen Byrne
35c2e47c60 [svn-r23166] Comment out redirect-ddl tests - incomplete 2013-01-15 11:36:09 -05:00
Mohamad Chaarawi
cb6d2f2a45 [svn-r23165] HDFF-8203 Break H5FDmpi.h header into public and private components
https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8203

tested: h5committest
2013-01-15 10:32:23 -05:00
Allen Byrne
c326a3bd9c [svn-r23164] HDFFV-8285: H5dump suppress ddl option test script 2013-01-15 09:34:44 -05:00
Allen Byrne
2a7ae0367b [svn-r23163] HDFFV-8285: H5dump suppress ddl option testfile additions 2013-01-15 09:31:24 -05:00
Raymond Lu
ec704e0077 [svn-r23162] synchronized DECTRIS branch (r23161) with the trunk 2013-01-14 15:40:19 -05:00
Raymond Lu
c9aad08a90 [svn-r23161] ported revisions 23146:23160 from the trunk 2013-01-14 14:45:59 -05:00
Allen Byrne
2fba171a67 [svn-r23160] HDFFV-8227: Mac DARWIN requires CMake 2.8.10 2013-01-14 13:35:30 -05:00
Allen Byrne
7a775b6c59 [svn-r23158] HDFFV-8169: h5dump incorrectly dumps a string into a binary file
Tested: local linux
2013-01-14 11:26:22 -05:00
Allen Byrne
4b9482eaee [svn-r23154] HDFFV-8286: changed comments from // to /* */ 2013-01-14 10:42:17 -05:00
HDF Tester
2381dacdad [svn-r23153] Snapshot version 1.9 release 140 2013-01-13 11:18:18 -05:00
Raymond Lu
3a7b11863a [svn-r23152] I took out the obsolete function H5PSIwrite_chunk and its related test and performance test.
Tested on koala.
2013-01-11 16:34:31 -05:00
Allen Byrne
9ac4f9ad6b [svn-r23151] HDFFV-498: Eliminate a.exe file on cygwin configurations 2013-01-11 14:11:33 -05:00
Allen Byrne
fd07eb96af [svn-r23150] Revert changes because 1.8 branch files were improperly used. 2013-01-11 14:00:50 -05:00
Raymond Lu
7b895e1dd8 [svn-r23149] I put more condition checks with macro when DEFLATE filter is disabled.
Tested on koala.
2013-01-10 11:04:09 -05:00
Raymond Lu
8eab66f667 [svn-r23148] I added the macro condition check for the test of direct chunk write as it uses compress2 function.
Tested on koala.
2013-01-09 16:07:27 -05:00
Raymond Lu
81bcd314a9 [svn-r23147] ported revisions 23081:23145 from the trunk 2013-01-09 15:23:07 -05:00
Raymond Lu
cde5029461 [svn-r23146] The test on Windows shows it doesn't have zlib.h. I added a macro condition to verify it before include it.
Tested on koala.
2013-01-09 14:23:18 -05:00