summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r24476] Description:Quincey Koziol2013-11-301-2/+4
| | | | | | | | | Remove duplicate "intent" flags from top & shared file structures, leaving them only in the shared file structure. Tested on: Mac OSX/64 10.9.0 (amazon) w/gcc 4.8, both parallel & serial (too minor to require h5committest)
* [svn-r24416] Fixed some compiler warnings in the dsets test.Dana Robinson2013-11-071-17/+19
| | | | | | | | Tested on: 32-bit LE linux (jam) (These are just minor casting changes in the tests, hence the minimal testing.)
* [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-015-5/+9
| | | | | | cleaned. CMake update to clean testfiles. Tested: local cmake, autools, and h5committest
* [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.Dana Robinson2013-10-3118-175/+175
| | | | | | | | | | | | | Prep work for adding a memory free function, part of HDFFV-8551. Tested on: 32-bit LE linux (jam) * with C++, Fortran * with thread safety on These are minor changes (almost entirely renaming foo functions to HDfoo) that don't change functionality. This should not require a full commit test.
* [svn-r24360] Jira issue 8528: H5Fget_obj_ids overfilled the list of object ↵Raymond Lu2013-10-251-0/+34
| | | | | | | | | IDs by one. This is the second round of checkin after receiving review comments from people. I put the safeguard in both H5F_get_objects and H5F_get_objects_cb to prevent overfill the list. tested with h5committest.
* [svn-r24358] Changed the big test so that it runs using the h5_fileaccess() ↵Dana Robinson2013-10-251-149/+171
| | | | | | | | | | | | fapl. The previous behavior was to execute a sec2, stdio, and family test everytime it ran, which was very inefficient under check-vfd. Tested on: 32- and 64-bit LE linux (jam and koala) 64-bit BE linux (ostrich) 64-bit OS-X 10.6 (fred)
* [svn-r24285] Eliminate several "passing argument ... with different width ↵Larry Knox2013-10-101-1/+1
| | | | | | due to prototype" warnings by casting constants to size_t where expected by string functions. Tested on jam, koala,ostrich and platypus with h5committest.
* [svn-r24256] Description:Quincey Koziol2013-10-041-39/+41
| | | | | | | | Clean up warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor for h5committest)
* [svn-r24234] Bug: tfile.c was failing in the ADA AIX system.Albert Cheng2013-09-301-1/+1
| | | | | | | | | The reason was typo in the index variable in the newly added test_get_obj_ids(). Solution: fixed the typo. Tested: AIX machine. (Did not run h5committest because the fix is in a remote machine and the fix is quite obvious.)
* [svn-r24214] Put in proper error message if unexpected switch values happened.Albert Cheng2013-09-281-1/+2
| | | | Tested: h5committest.
* [svn-r24210] Jira issue 8528: H5Fget_obj_ids overfilled the list of object ↵Raymond Lu2013-09-271-0/+97
| | | | | | | | | IDs by one. I moved the safeguard in H5F_get_objects_cb to the beginning of the function to prevent overfill the list. I added a new test case for this problem and fix in tfile.c. Tested with h5committest.
* [svn-r24202] Bug fix: HDFFV-8271 Big.c error in address generated by random ↵Albert Cheng2013-09-261-1/+2
| | | | | | | | | | | | | | | | | | number. Description: There is a bug in the current big.c tests. In a nut-shell, the writing part randomly picks 50 locations and write 4KB from that location. Random location range is from byte 0 to end of dataset. There is the problem--if the random location is greater than (end of dataset - 4KB), then error. Solution: Adjust the random number to be at least 4KB less than the end of the dataset. That allows it write 4KB more from the generated starting position. Tested: h5comittest plus jam serial build and test.
* [svn-r24194] Don't add hdf5 library dependencies to lib files when ↵Larry Knox2013-09-241-0/+1
| | | | | | --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276. Tested with h5committest and on hdf-duck.
* [svn-r24167] HDFFV-8513, HDFFV-8522 Plugin testing in h5repack, h5dump.Allen Byrne2013-09-191-0/+3
| | | | | | | Add more usage info for UserMacros. Add new option information about the Plugin default path. Tested: local linux, jam
* [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
|