summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r24101] Description:Quincey Koziol2013-09-052-35/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r24097] Correct indentationAllen Byrne2013-09-041-1/+1
|
* [svn-r24056] Move make_executable commands back from tests fileAllen Byrne2013-08-222-132/+156
|
* [svn-r24055] Move make_executable commands back from tests fileAllen Byrne2013-08-222-35/+35
|
* [svn-r24030] Description:Quincey Koziol2013-08-194-426/+426
| | | | | | | | Clean up more compiler warnings. Tested on: Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN (too minor to require h5committest)
* [svn-r24029] Move TESTS to seperate file to allow easier editing by all ↵Allen Byrne2013-08-192-710/+718
| | | | | | developers. Tested: local linux
* [svn-r24020] Description:Quincey Koziol2013-08-177-587/+560
| | | | | | | | Clean up compiler warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r24011] Description:Quincey Koziol2013-08-151-0/+4
| | | | | | | | Clean up a few warnings Tested on: Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r23984] Merged 2 23932 from reduced_warnings branch:Larry Knox2013-08-095-3/+44
| | | | | | | | | | | | | | | | | Changes applied to eliminate several compiler warnings in the test directory in files: dt_arith.c filter_fail.c big.c dynlib2.c dynlib3.c Also an HDassert(0 && "Unknown type"); statement was added to all 29 combination s of case OTHER: default: See crucible review HDF5-145 for more details. Tested with h5committest.
* [svn-r23812] Added the HD prefix to the system functions used in the links.c ↵Allen Byrne2013-06-241-58/+58
| | | | | | file. Tested: local linux
* [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