summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r23745] HDFFV-8461: Add Windows /MT supportAllen Byrne2013-06-101-0/+14
| | | | This adds the UserMacros.cmake support needed.
* [svn-r23713] Description:Quincey Koziol2013-05-211-1/+0
| | | | | | | | | | 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)
* [svn-r23695] Description:Quincey Koziol2013-05-112-23/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* [svn-r23691] Fix valgrind leak by closing faplAllen Byrne2013-05-091-0/+3
| | | | Tested: local linux
* [svn-r23685] Issue 8380 H5Zunregister caused seg fault. I simplied the ↵Raymond Lu2013-05-081-2/+2
| | | | | | 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.
* [svn-r23675] Issue 8380 - H5Zunregister caused seg fault. This is the ↵Raymond Lu2013-05-062-2/+4
| | | | | | | | | 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.
* [svn-r23667] Removed H5E call.Joel Plutchak2013-05-031-20/+1
|
* [svn-r23665] Added test cases to expose potential fill value issues.Joel Plutchak2013-05-021-0/+281
|
* [svn-r23656] Issue 8380 H5Zunregister caused seg fault: I added some ↵Raymond Lu2013-04-293-7/+275
| | | | | | | | | 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.
* [svn-r23549] Description:Quincey Koziol2013-04-044-52/+49
| | | | | | | | 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)
* [svn-r23547] Windows plugins will always be "dll"'s.Allen Byrne2013-04-041-1/+1
| | | | | | CMake also uses ";" as a separator - escape it Tested: windows
* [svn-r23546] Correct typoAllen Byrne2013-04-041-1/+1
|
* [svn-r23540] I took out the "const" symbol from H5PL_get_plugin_type and ↵Raymond Lu2013-04-033-6/+6
| | | | | | H5PL_get_plugin_info functions. Tested on jam - simple change.
* [svn-r23536] I corrected the copyright information and added some comment in ↵Raymond Lu2013-04-035-45/+31
| | | | | | H5Pocpl.c. Tested on jam - no code change.
* [svn-r23533] I changed the operation in dynlib2.c from math operations pow ↵Raymond Lu2013-04-032-12/+12
| | | | | | | | and sqrt to simpler multiplication and division to avoid potential rounding problem in math operations. Tested on jam - simple change.
* [svn-r23529] Description:Quincey Koziol2013-04-031-2/+2
| | | | | | | | 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
* [svn-r23526] Bug fix: Mac system has dynamic library name in the form of ↵Albert Cheng2013-04-021-3/+17
| | | | | | | | | | | | | | | | | | 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.
* [svn-r23524] Use two plugin folders for testing plugin PathAllen Byrne2013-04-021-6/+45
|
* [svn-r23520] Add new plugin library to build list for test.Allen Byrne2013-04-021-33/+37
| | | | Tested: local linux, windows
* [svn-r23519] I used H5Gcreate instead of H5Gcreate2 in plugin.c. I ↵Raymond Lu2013-04-023-19/+86
| | | | | | corrected it and added some real operation in the dummy filter library dynlib3.c. Tested on jam and koala.
* [svn-r23517] Rewrirte part of the script that copy the libdynlib libraries ↵Albert Cheng2013-04-021-5/+33
| | | | | | | | | and check for result. h5committested. (Cmake in Duck has errors but the error are not related to this change.
* [svn-r23514] I forgot to add the new file dynlib3.c in last commit.Raymond Lu2013-04-011-0/+83
|
* [svn-r23513] I added a test case in plugin.c for testing using filter for ↵Raymond Lu2013-04-015-13/+84
| | | | | | groups and created a dummy filter library for this test case. Tested on jam and koala.
* [svn-r23511] Replaced install-data-local with install-exec-hook in ↵Larry Knox2013-04-012-8/+9
| | | | | | test/Makefile.am. tested with h5committest
* [svn-r23494] I added another filter library dynlib2.c for plugin.c test. ↵Raymond Lu2013-03-296-71/+142
| | | | | | | | The test script moves the libdynlib2.so to /tmp then runs plugin.c. Tested on jam and koala.
* [svn-r23493] Correct improper additionAllen Byrne2013-03-291-3/+0
|
* [svn-r23492] Bug fix:Albert Cheng2013-03-291-6/+13
| | | | | | | | | | | | 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.
* [svn-r23491] Add test_plugin.sh to list of cleanup filesAllen Byrne2013-03-291-1/+3
|
* [svn-r23482] I changed the plugin library to be built as shared library only ↵Raymond Lu2013-03-282-47/+115
| | | | | | 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.
* [svn-r23480] Reposition conditional and libtool commands.Allen Byrne2013-03-281-10/+8
|
* [svn-r23467] Remove subdirectory.Allen Byrne2013-03-274-246/+68
| | | | Tested: local linux
* [svn-r23465] I moved dynlib1.c to test/ directory and revised the ↵Raymond Lu2013-03-274-52/+188
| | | | | | | | 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.
* [svn-r23447] Add new env var to prevent filter plugin loadingAllen Byrne2013-03-251-0/+1
| | | | Tested: jam
* [svn-r23435] ported revisions 23346:23432 from the trunkRaymond Lu2013-03-221-4/+8
|\
| * [svn-r23354] Close prop list varAllen Byrne2013-03-151-4/+8
| |
| * [svn-r23336] Discovered some typo in the last added comment. Rewrote the ↵Albert Cheng2013-03-071-3/+3
| | | | | | | | | | | | comment. Tested: no need since only comments are changed.
| * [svn-r23332] HDFFV-8322: for valgrind testing, split-up testhdf5 tests by ↵Allen Byrne2013-03-062-3/+3
| | | | | | | | | | | | excluding and running long running tests separately. Tested: local linux
| * [svn-r23329] Bug fix: HDFFV-8305Albert Cheng2013-03-061-1/+4
| | | | | | | | | | | | | | | | 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.
| * [svn-r23326] Refactor testhdf5 for memcheck testing. Test longest running ↵Allen Byrne2013-03-051-3/+16
| | | | | | | | options using only.
| * [svn-r23322] HDFFV-8322: Close resources, found from valgrind testingAllen Byrne2013-03-015-7/+30
| | | | | | | | Tested: local linux
| * [svn-r23320] Close resources, found from valgrind testingAllen Byrne2013-02-271-0/+6
| | | | | | | | Tested: local linux
| * [svn-r23305] HDFFV-8257: szip still used even if headers are not found. ↵Allen Byrne2013-02-181-1/+1
| | | | | | | | | | | | Change configure to test the result of the CHECK HEADERS call before checking for the library. Tested: local linux, h5committest
| * [svn-r23260] Bug fix: HDFFV-8267Albert Cheng2013-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* | [svn-r23432] I added a new macro HDF5_PLUGIN_PRELOAD to skip plugin loading ↵Raymond Lu2013-03-222-2/+14
| | | | | | | | | | | | during data reading. Tested on koala and jam.
* | [svn-r23405] Correct typoAllen Byrne2013-03-201-1/+1
| |
* | [svn-r23403] Refactor windows code:Allen Byrne2013-03-203-62/+9
| | | | | | | | | | | | windows uses ';' as path separator windows default path is different windows find files needs '*.*'
* | [svn-r23402] Plugin Library needs own dll decoratorAllen Byrne2013-03-201-2/+11
| | | | | | | | Tested: windows
* | [svn-r23401] I cleaned up the test.Raymond Lu2013-03-201-149/+8
| | | | | | | | Tested on koala.
* | [svn-r23400] I updated Makefile.in for Mac.Raymond Lu2013-03-201-1/+1
| | | | | | | | Tested on MacGoblin and koala.
* | [svn-r23390] Remove dll decoration from local functionAllen Byrne2013-03-191-3/+3
| |