Commit Graph

13474 Commits

Author SHA1 Message Date
Quincey Koziol
0fc1c9c519 [svn-r23313] Description:
Bring changes from Coverity branch to the trunk:

r20612:
Changed string functions to versions with string length to fix coverity issues
922, 942 and 943.

r20614:
Use HDsnprintf. --gh

r20675:
Fix for coverity #1714 due to the fix for #810.  
Use HDfree() instead of H5MM_xfree().

r20678:
Repaired coverity issue #598 -- failure to check return value from a
call to fstat(), or to tidy up in the event of failure.

r20679:
Use HDstrncpy. --gh

r20681:
Use HDstrncat and HDstrncpy. --gh


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/Debug, etc.
    (too minor to require h5committest)
2013-02-25 09:48:42 -05:00
HDF Tester
66ba0b4f33 [svn-r23311] Snapshot version 1.9 release 145 2013-02-24 11:26:03 -05:00
Allen Byrne
47af32527b [svn-r23310] Correct duplicate test command 2013-02-21 14:39:29 -05:00
Allen Byrne
e142838d1f [svn-r23308] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-21 10:47:51 -05:00
Allen Byrne
2c0357db80 [svn-r23307] HDFFV-8311: Correct test dependency
Remove h5ls references

Tested: local linux
2013-02-20 13:43:47 -05:00
Allen Byrne
8a92fbce85 [svn-r23306] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-20 11:42:11 -05:00
Allen Byrne
aff5c20a6a [svn-r23305] HDFFV-8257: szip still used even if headers are not found. Change configure to test the result of the CHECK HEADERS call before checking for the library.
Tested: local linux, h5committest
2013-02-18 15:56:21 -05:00
Jonathan Kim
dbad502865 [svn-r23304] Purpose:
HDFFV-7643 - h5diff - incorrect exit-code returns for extra attribute exist

Description:
   h5diff: Fixed to return correct exit code 1 when detect unique
   attribute. Prior to this fix, h5diff returned exit code 0 indicating 
   two files are identical.

Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), fred (mac64-LE), emu (solaris-BE),  Windows (32-LE cmake), cmake (jam)
2013-02-18 14:46:03 -05:00
Scot Breitenfeld
f3da4919c4 [svn-r23297] Temporary fix: PGI COMPILERS seem to have a bug in the INQUIRE function,
waiting for an answer from PGI how to resolve the problem.

Tested: jam (pgi compiler)
2013-02-18 10:28:36 -05:00
Scot Breitenfeld
2ec529c035 [svn-r23296] Fix HDFFV-8312: Problem using NAG compiler and F2003 interface
added character bounds for C_LOC arguments.

Tested: jam (gnu)
2013-02-17 22:46:06 -05:00
Scot Breitenfeld
4e08487549 [svn-r23295] Did not intend to check in this file with the previous ci.
reverted check in.
2013-02-17 22:10:17 -05:00
Scot Breitenfeld
a4521b7901 [svn-r23294] Related to: HDFFV-8265
Fortran2003 option does not work under windows; Need to manage .def files more efficiently

Changed the comment notes from adding to the 'hdf5_fortrandll.def' to instead adding
to the 'hdf5_fortrandll.def.in' file.
2013-02-17 21:22:29 -05:00
Scot Breitenfeld
a976ca99a9 [svn-r23293] Fix for HDFFV-8268: Fortran wrapper for H5Fget_file_image function.
Tested: (jam, gnu,intel compilers)
2013-02-17 21:01:18 -05:00
HDF Tester
32da9c96ae [svn-r23290] Snapshot version 1.9 release 144 2013-02-17 11:30:06 -05:00
Allen Byrne
1eeac2048a [svn-r23289] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-15 16:46:45 -05:00
Allen Byrne
ff30c61329 [svn-r23288] Fix mismatched block statement 2013-02-15 16:46:24 -05:00
Allen Byrne
69ced48cf8 [svn-r23287] Correct file names 2013-02-15 15:12:18 -05:00
Allen Byrne
43189639fd [svn-r23286] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-15 14:35:21 -05:00
Allen Byrne
4149edf118 [svn-r23282] Add folder to outfile name 2013-02-14 15:32:15 -05:00
Allen Byrne
325c3b869f [svn-r23278] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 15:00:50 -05:00
Allen Byrne
8bdc6f991e [svn-r23277] Change name of output file. 2013-02-14 14:13:30 -05:00
Allen Byrne
ba355ce887 [svn-r23276] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 13:48:10 -05:00
Allen Byrne
bf80a61b14 [svn-r23275] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 13:43:03 -05:00
Allen Byrne
0336d9cdb4 [svn-r23274] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 13:37:52 -05:00
Allen Byrne
06e935bae9 [svn-r23273] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 13:37:02 -05:00
Allen Byrne
90f4f15617 [svn-r23272] Correct typos 2013-02-14 13:16:43 -05:00
Allen Byrne
7feda84aeb [svn-r23271] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 13:10:24 -05:00
Allen Byrne
115a5b36dd [svn-r23270] Cleanup old test comments 2013-02-14 11:37:37 -05:00
Allen Byrne
b9edfdfa25 [svn-r23269] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 11:35:56 -05:00
Frank Baker
a6b09480ff [svn-r23267] Description:
Update copyright to 2013.
Tested:  Firefox
2013-02-13 17:13:00 -05:00
Allen Byrne
366d729046 [svn-r23264] Remove tests from valgrind processing 2013-02-13 13:54:14 -05:00
Allen Byrne
3b1e202378 [svn-r23263] Test dependencies were incorrect and test outside macros did not always execute in the correct order.
Created new macro for h5import test verification. Corrected intra-macro test dependencies. Fixed clear tests.

Tested: local linux
2013-02-13 12:37:10 -05:00
Albert Cheng
d8b3b84ca2 [svn-r23262] Updated with bug fix entry of HDFFV-8267.
Since this is a testing code error that does not affect the function of the
library or tools, I started a new "Testing" section for this sort of changes.
2013-02-13 11:03:49 -05:00
Albert Cheng
e8a0753656 [svn-r23260] Bug fix: HDFFV-8267
The ERROR macro had a typo of missing a separator comma. When used, it seg.
fault. Added the comma back in.
Fix is reviewed in Crucible HDF5-107.

Tested: h5committest passed. Also tested using the ERROR macro in the
Mac (Owl) platform. Before fix, it seg. fault. After fix, it prints the
message as intended.
2013-02-12 16:36:54 -05:00
Allen Byrne
472566b543 [svn-r23254] Make tests independent of each other
Tested: local linux
2013-02-12 16:01:26 -05:00
Allen Byrne
7ca11cb3e0 [svn-r23253] update memcheck ignore tests 2013-02-12 15:47:31 -05:00
Allen Byrne
f08e413f1d [svn-r23252] Fix test dependency flow 2013-02-12 13:19:28 -05:00
Allen Byrne
334cebba07 [svn-r23251] Fix test dependency flow 2013-02-12 13:09:29 -05:00
Allen Byrne
4680324b24 [svn-r23250] Merge changes from normal cache file 2013-02-12 10:11:20 -05:00
Allen Byrne
6ad28abc14 [svn-r23249] Correct typo in normal depends statement.
Add MEMORY_CHECK settings to match existing VALGRIND statements
2013-02-12 08:41:43 -05:00
Scot Breitenfeld
9d07161dd9 [svn-r23248] Made modification of comments for h5rget_name_*f for the loc_id identifier.
Cleaned up comments.
2013-02-11 20:28:08 -05:00
Raymond Lu
d9baac8b0b [svn-r23245] I added the information about the new function H5DOwrite_chunk.
No test is needed.
2013-02-11 16:20:37 -05:00
Allen Byrne
23d2b5d557 [svn-r23244] Correct test dependency handling.
Tested: local linux
2013-02-11 15:15:17 -05:00
Scot Breitenfeld
b37820aecb [svn-r23242] Added info. about changed behavior of H5DSgetscale_name (HDFFV-7596) 2013-02-10 21:18:24 -05:00
Scot Breitenfeld
871b69723e [svn-r23241] Fix for: HDFFV-7596 H5DSget_scale returns size that includes NULL termination and H5DSget_label returns size
Updated tests.

Tested: jam( gnu, intel)
2013-02-10 21:06:01 -05:00
HDF Tester
944f0399ac [svn-r23240] Snapshot version 1.9 release 143 2013-02-10 11:25:10 -05:00
Quincey Koziol
d91625d139 [svn-r23238] Description:
Bring changes from Coverity branch to trunk:

r20528:
Purpose: Fix coverity issue 1372

Description: Rewrite file open secition of H5FD_stdio_open to avoid TOCTUO
condition.  No longer calls access, and uses a tentative open in "rb" or "rb+"
mode to check for existence of the file.

r20609:
Use HDstrncpy and HDstrncat. --gh

r20611:
Use HDstrncpy. --gh


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/debug, C++ & FORTRAN
    (h5committest not required, already tested on branch)
2013-02-08 15:36:31 -05:00
Neil Fortner
692fa69934 [svn-r23237] Purpose: Implement H5Dscatter and H5Dgather
Description:
Adds 2 new API functions, H5Dscatter and H5Dgather.  H5Dscatter retrieves data
from a specified callback function and scatters it into a selection, defined by
a supplied dataspace, within a supplied memory buffer.  H5Dgather gathers data
from a selection within a supplied memory buffer and passes it in a contiguous
form to a supplied callback function.  Added tests for these functions

Tested: jam, ostrich, koala (h5committest); ummon
2013-02-08 11:49:21 -05:00
Scot Breitenfeld
386f73823a [svn-r23236] Fix for: HDFFV-8223
Write a Fortran test for conversion fron enum to numeric type 

Tested (jam, gnu, intel)
2013-02-07 19:28:55 -05:00
Scot Breitenfeld
69a777556e [svn-r23235] Fix for:
HDFFV-7909
When building with g95 on Mac OS X 64-bit, the wrong options (gfortran) are used 

Tested: duck (gfortran, g95 (which is not supported))
2013-02-07 19:09:24 -05:00