| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This adds the UserMacros.cmake support needed.
|
|
|
|
|
|
|
|
|
|
| |
Clean up warnings, switch library code to use Standard C/POSIX wrapper
macros, remove internal calls to API routines, update checkapi and checkposix
scripts.
Tested on:
Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
Big-Endian Linux/64 (ostrich)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clean up warnings in H5Tconv.c (down to _only_ 9000 lines of output now!)
Merge changes from Coverity branch back to trunk:
r20684:
Fix for coverity bug #1721 which was due to the fix for coverity bug #943.
r20685:
Use HDstrncpy. --gh
r20761:
Purpose: Fix valgrind issues
Description:
Free image_data and data as appropriate in test_image.
r20762:
Purpose: Fix coverity issue 600
Description:
Add check for return value of H5O_close in H5Ocopy. Also cleaned up various
warnings.
r20763:
Purpose: Fix valgrind issues with h5stat
Description:
Modified h5stat to free "iter" before exit, and free "hand" before exit if
parse_command_line exits directly.
r20764:
fixed coverity issues:
69, 327, 614, 684, 685, 696, 697, 1681, 967, 826, 660, 80
r20765:
Fixed coverity bug 668
Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning.
No actual integer overflow tests are performed since it's just a test program but I did add a check that n_elements is >= 1.
I also changed an error condition from doing its own close and returning -1 to "goto out;" like the rest of the program.
r20766:
Fixed coverity bug 667
Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning.
No actual integer overflow tests are performed since it's just a test program.
Tested on:
Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
(h5committest upcoming)
|
|
|
|
| |
Tested: local linux
|
|
|
|
|
|
| |
iteration process over datasets, groups, and files as Quincey suggested. I also removed H5I_search that I introduced in last commit but didn't actually used it.
Tested on jam and koala - simple change.
|
|
|
|
|
|
|
|
|
| |
followup commit. Quincey
reviewed my previous commit and suggested me to use H5I_iterate to iterate through
all opened objects in H5Z_unregister. I changed it in this commit.
Tested with h5committest.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
protection measures:
1. If any opened object uses the filter, let it fail.
2. Flush all opened files to push any cached data to files.
Tested with h5committest.
|
|
|
|
|
|
|
|
| |
More misc. cleanups, but main change is to make an "extern" header file
for the plugin interface.
Tested on:
Mac OSX/64 10.8.3 (amazon)
|
|
|
|
|
|
| |
CMake also uses ";" as a separator - escape it
Tested: windows
|
| |
|
|
|
|
|
|
| |
H5PL_get_plugin_info functions.
Tested on jam - simple change.
|
|
|
|
|
|
| |
H5Pocpl.c.
Tested on jam - no code change.
|
|
|
|
|
|
|
|
| |
and sqrt to simpler multiplication and division
to avoid potential rounding problem in math operations.
Tested on jam - simple change.
|
|
|
|
|
|
|
|
| |
Stop aliasing property to indicate internal collective metadata operations
with property to perform collective raw data operations from the application.
Tested on:
Mac OSX/64 10.8.3 (amazon) w/paralllel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libxyz.dylib. Changed test_plugin.in
to copy library file names in the form of libdynlib{123].*.
Another problem: Even when copy failed in copying the libray files (was in the form of *.so*),
the test still passed. That was because .libs was included in $HDF5_PLUGIN_PATH and the needed
plug in libraries were generated there.
Fixed by copying the plug in library files to separate directories and seetup HDF5_PLUGIN_PATH
to include them but NOT .libs.
Tested: used desycommittest (duck, emu, jam, koala, ostrich) plus cmakehdf5 in jam.
The cmakehdf5 in jam reported a failure in
Test #594: H5REPART-h5repart_test ....................................***Failed
Since this failure could not be caused by my change in test_plugin.sh, I reported it to Allen
and proceed to check this in.
|
| |
|
|
|
|
| |
Tested: local linux, windows
|
|
|
|
|
|
| |
corrected it and added some real operation in the dummy filter library dynlib3.c.
Tested on jam and koala.
|
|
|
|
|
|
|
|
|
| |
and check
for result.
h5committested. (Cmake in Duck has errors but the error are not related to
this change.
|
| |
|
|
|
|
|
|
| |
groups and created a dummy filter library for this test case.
Tested on jam and koala.
|
|
|
|
|
|
| |
test/Makefile.am.
tested with h5committest
|
|
|
|
|
|
|
|
| |
The test script moves the libdynlib2.so to /tmp then runs
plugin.c.
Tested on jam and koala.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test was not checking error result. It basically return succeess to make check
all the time.
Fixed it so that it does check the return code of the test (plugin) and set
nerror accordingly. It then exit 1 if there is any error detected.
Test: use the desy committest to pass on jam, koala, ostrich, duck and emu.
Also hand test by "rm test/.lib/libdynlib1* to verify the test script can
indeed response to errors properly.
|
| |
|
|
|
|
|
|
| |
when configure enables shared. libtool will install the shared plugin library. I put a remove command in test/Makefile.am to delete the unnecessary plugin library.
Tested on jam, koala, and emu.
|
| |
|
|
|
|
| |
Tested: local linux
|
|
|
|
|
|
|
|
| |
Makefile.am in test/. I added the condition to skip
plugin.c test when the library is built for static.
Tested on jam, koala, and emu.
|
|
|
|
| |
Tested: jam
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
comment.
Tested: no need since only comments are changed.
|
| |
| |
| |
| |
| |
| | |
excluding and running long running tests separately.
Tested: local linux
|
| |
| |
| |
| |
| |
| |
| |
| | |
Some systems, like Mac, strings inspect library files and older versions
of strings maybe know newer library format, resulting in errors.
Make it read the file as stdin, avoiding this problem.
Tested: h5committest. all passed.
|
| |
| |
| |
| | |
options using only.
|
| |
| |
| |
| | |
Tested: local linux
|
| |
| |
| |
| | |
Tested: local linux
|
| |
| |
| |
| |
| |
| | |
Change configure to test the result of the CHECK HEADERS call before checking for the library.
Tested: local linux, h5committest
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
during data reading.
Tested on koala and jam.
|
| | |
|
| |
| |
| |
| |
| |
| | |
windows uses ';' as path separator
windows default path is different
windows find files needs '*.*'
|
| |
| |
| |
| | |
Tested: windows
|
| |
| |
| |
| | |
Tested on koala.
|
| |
| |
| |
| | |
Tested on MacGoblin and koala.
|
| | |
|