summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r24906] Merge latest CMake changes from trunk.Allen Byrne2014-03-262-193/+198
| | | | Tested: local linux
* [svn-r24894] Description:Quincey Koziol2014-03-256-30/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r24869 & r24875 from trunk to 1.8 branch: Clean up more compiler warnings, plus merge a few Coverity bug fixes from the hdf5_1_8_coverity branch back to the trunk: r20877: Purpose: Fix coverity issue 1723 Description: Modified test_generate in hl/test_image to close file "f" before exit, even if an error occurs. r20879: Issue 63: change check of return of H5Tget_nmembers to <=0. No need to go futher if call fails as well as empty. r20881: Coverity #659 in Run 46: I changed the Line 442 where it tries to check whether FLAG_PRINTED is TRUE. But it had just been set to FALSE. I took out the condition check in the print statement. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & Parallel (daily tested on trunk)
* [svn-r24878] Description:Quincey Koziol2014-03-243-7/+5
| | | | | | | | | | | | | | | | | | | | | Bring r24864 from trunk to 1.8 branch: Remove all traces of MPI-POSIX VFD and GPFS detection/code. Remove remaining traces of stream VFD. Remove testpar/t_posix_compliant test (it's not actually verifying anything). Clean up H5D__mpio_opt_possible() further. Moved environment variable that disables MPI collective operations into MPI-IO VFD (instead of it being in src/H5S.c). A few other small code cleanups. Tested on: Mac OSX/64 10.9.2 (amazon) w/parallel & serial (daily tested on trunk)
* [svn-r24810] Description:Quincey Koziol2014-03-1712-193/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r24803 & r24804 from trunk to 1.8 branch: r24804: Brought changes from Coverity branch back to trunk, and cleaned up misc. other warnings & formatting issues: r20833: Fixed Coverity 667 and 668 with real integer overflow tests this time. r20834: Use HDstrncpy and HDstrncat. --gh r20835: Change to use strncpy - use base_len + 1 for line 156, use HDstrlen(path) + 1 for line 159 r20836: Fixed coverity 585 by casting output of fgetc() to a char. r20837: Changed sprintf calls to snprintf with size 1 less than the allocated buffer to address coverity issue #967. r24803: Rename GCC_DIAG_OFF/ON macros to H5_GCC_DIAG_OFF/ON and move from src/H5private.h to src/H5public.h. Wrap typedef of hsize_t and hssize_t in DIAG_OFF(long-long) macros. Clean up a bunch of "macro '-' is unused" warnings. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel (too minor to require h5committest)
* [svn-r24732] Fix for reconfigure, which fails because ↵Larry Knox2014-02-221-0/+1
| | | | | | LT_ADD_LIBHDF5_DEPENDENCY is used in Makefiles but the declaration in configure.ac is missing. Copied declaration from trunk. Tested with h5committest on jam ostrich koala and platypus(cmake).
* [svn-r24728] Description:Quincey Koziol2014-02-211-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r24726 & r24727 from trunk to 1.8 branch: Description: Revert some earlier usage of strncpy, which was incorrect. Bring Coverity changes from branch back to trunk: r20821: Use HDstrncpy. --gh (Fixed already, with strdup) r20822: (Not merged, incorrect use of HDstrncpy()) r20823: (Not merged, incorrect use of HDstrncpy()) r20824: Maintenance: Bug fix: addressed CID 666. Value stored at *expression_len should be used in the call to HD5packFstring to avoid overflow (and unnecessary arithmetic calculation and casting) r20825: Issue 642: Added check for error and handler with print to stderr and exit. r20826: Undo revision 20818, as that issue has already been fixed in the 1.8 branch and trunk (but not coverity branch) r20827: (Not merged, incorrect use of HDstrncpy()) r20828: Use HDstrncpy. --gh (Corrected use of strncpy()) r20829: Check return of H5Lget_val(print_udata->fid, path, targbuf, linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0. Check if H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL, &filename, &objname) was successful and allow print. Otherwise filename and objname are not created. (init those to NULL) r20830: resolved coverity issues 939, 940, 941, 944, and 947. all were complaints about use of sprintf, and in all cases, the buffers used were large enough for all eventualities. Resolved issue by replacing calls to sprintf with calls to snprintf. r20831: Maintenance: Addressed CID 852 Replaced sprintf with snprintf r20832: Purpose: Fix valgrind issues with hl/examples/ex_image2 Description: Modified hl/examples/ex_image2 to free global "gbuf" before exit. Tested on: Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety (too minor to require h5committest)
* [svn-r24720] bring r24709 from trunk:Mohamad Chaarawi2014-02-185-29/+29
| | | | | | | rename H5V to H5VM since H5V is needed in the fastforward project for view objects. The addition of view objects in the fastforward project is expected to be brough into the trunk sometimes in the future, which is why we need to make this change.
* [svn-r24654] HDFFV-8640: Remove XLATE_UTILITYAllen Byrne2014-01-287-21/+2
| | | | Update tools testfiles
* [svn-r24653] HDFFV-8572: test/testhdf5.c main() should not return number of ↵Albert Cheng2014-01-271-1/+6
| | | | | | | | | errors Solution: testhdf5 now exits EXIT_SUCCESS(0) if no errors, else EXIT_FAILURE(1). Tested: Jam only since it is a trivial fix.
* [svn-r24506] Merge of r24358 from trunk. Makes the big test aware of the ↵Dana Robinson2013-12-061-149/+171
| | | | | | | | | | | | | | | HDF5_DRIVER environment variable. Fixes HDFFV-8554. Tested on: 32-bit LE linux (jam) 64-bit LE linux (koala) 64-bit BE linux (ostrich) 64-bit Windows 7 with VS 2010 On all platforms, the big test was run with the environment variable set to all supported VFDs.
* [svn-r24477] Description:Quincey Koziol2013-11-301-2/+4
| | | | | | | | | | | Bring r24476 from trunk to 1.8 branch: 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-r24402] Issue 8528 - H5F_get_objects overfilled the list for object ↵Raymond Lu2013-11-041-1/+1
| | | | | | IDs. I fixed a typo. It caused the PGI compiler on jam to fail tfile.c test. Tested with h5committest.
* [svn-r24393] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-015-5/+10
| | | | | | cleaned. CMake update to clean testfiles. Tested: local cmake, autotools
* [svn-r24391] Issue 8528 - H5F_get_objects overfilled the list for object ↵Raymond Lu2013-11-011-0/+130
| | | | | | IDs. I merged the fix the trunk. I put the safeguard in both H5F_get_objects and H5F_get_objects_cb to prevent overfill the list. I also added test cases in tfile.c. Tested with h5committest on jam, koala, ostrich, and platypus.
* [svn-r24329] Remove quotes in list addAllen Byrne2013-10-181-1/+1
|
* [svn-r24315] Do not run big test on cygwinAllen Byrne2013-10-172-3/+9
|
* [svn-r24231] Issue 1264: CYGWIN had long double rounding problem from ↵Raymond Lu2013-09-301-3/+3
| | | | | | | | unsigned long long. Allen confirmed the problem is gone. So I took out the macro CYGWIN_ULLONG_TO_LDOUBLE_ROUND_PROBLEM. It skipped the test related to this issue. Tested with h5committest.
* [svn-r24215] Bug fix: HDFFV-8271 Big.c error in address generated by random ↵Albert Cheng2013-09-281-2/+7
| | | | | | | | | | | | | | | | | | | | 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. Also put in a proper error message if unexpected switch values happened. Tested: h5comittest plus jam serial build and test.
* [svn-r24205] Merge HDFFV-8513/8522 from trunk (via cmake branch), h5repack ↵Allen Byrne2013-09-263-66/+70
| | | | | | | | UD plugins. Also warning session fixes. Tested: CMake local linux
* [svn-r24121] OpenVMS converted the value of zero in char or short to ↵Raymond Lu2013-09-101-0/+23
| | | | | | | | negative zero in long double. I made it warning instead of failure. Tested on jam and Boeing OpenVMS - simple change.
* [svn-r24112] Description:Quincey Koziol2013-09-062-35/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r24101 & 24111 from trunk to 1.8 branch: r24101: ======= Description: 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 r24111: ======= Description: Restrict GCC diagnostic pragmas to only gcc 4.6+ Tested on: Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN (too minor to require h5committest)
* [svn-r24080] Since dtransform.c uses H5T_conv_i_f and H5T_conv_f_i, I added ↵Raymond Lu2013-08-281-0/+5
| | | | | | them back for OpenVMS. But I took out the test case in dtransform.c which has problem. See Jira issue VMS-8. Tested on jam.
* [svn-r24074] I took out the soft conversion functions H5T__conv_i_f and ↵Raymond Lu2013-08-261-0/+16
| | | | | | | | | H5T__conv_f_i for OpenVMS because they have problem to convert between integers and floating numbers. I also commented out the test case in dt_arith.c for OpenVMS. Tested on jam - simple change.
* [svn-r24072] Merge trunk cmake changes to 1.8 branch. Allen Byrne2013-08-262-528/+557
| | | | | | | Also add default switch blocks to h5import. Merge h5dump any_path option from trunk. Tested: local linux
* [svn-r24032] Description:Quincey Koziol2013-08-204-426/+426
| | | | | | | | | | Bring r24030 from trunk to 1.8 branch: Clean up more compiler warnings. Tested on: Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN (too minor to require h5committest)
* [svn-r24021] Description:Quincey Koziol2013-08-187-587/+560
| | | | | | | | | | Bring r24020 from trunk to 1.8 branch: Clean up compiler warnings Tested on: Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r24012] Description:Quincey Koziol2013-08-151-0/+4
| | | | | | | | | | Bring r24011 from trunk to 1.8 branch: Clean up a few warnings Tested on: Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN (too minor to require h5committest)
* [svn-r23771] HDFFV-8434,-8437,-8445,-8447,-8461: Merge changes from Trunk.Allen Byrne2013-06-141-0/+13
| | | | Tested: local linux
* [svn-r23719] Description:Quincey Koziol2013-05-291-1/+0
| | | | | | | | | | | | Bring r23713 and r23717 from trunk to 1.8 branch: 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-r23706] Merge Valgrind fix from trunk.Allen Byrne2013-05-151-0/+3
|
* [svn-r23703] Issue 8380 - followup for previous checkin. I forgot to add ↵Raymond Lu2013-05-141-0/+256
| | | | | | test/unregister.c as a new test. No test is needed.
* [svn-r23702] Issue 8380 - H5Zunregister caused seg fault. This is a porting ↵Raymond Lu2013-05-143-7/+20
| | | | | | | | | of code from the trunk. It fixes the problem by first iterating through all opened datasets and groups to see if any of them uses the filter. If it finds one, the function fails with a message. Then the function flushes all opened files. Tested with h5committest.
* [svn-r23696] Description:Quincey Koziol2013-05-112-23/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r23695 from trunk to 1.8 branch: 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-r23551] I updated this branch from the 1.8 branch (not related to DESY ↵Raymond Lu2013-04-042-4/+4
|\ | | | | | | | | | | project) and a few changes for CMake and Windows from the trunk (related to DESY). Tested with desycommittest (emu, koala, jam, ostrich, and ostrich-no-shared-lib), but can't wait for duck to finish. It takes too long.
| * [svn-r23535] Description:Quincey Koziol2013-04-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | Bring r23529 from trunk to 1.8 branch: 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/parallel (daily tests on trunk)
* | [svn-r23550] Description:Quincey Koziol2013-04-044-52/+49
| | | | | | | | | | | | | | | | | | | | Bring r23549 from trunk to desy_1_8 branch: 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-r23539] 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 koala - simple change.
* | [svn-r23537] I corrected the copyright information and added some comment in ↵Raymond Lu2013-04-035-45/+31
| | | | | | | | | | | | H5Pocpl.c. Tested on koala - no code change.
* | [svn-r23534] I changed the operation in dynlib2.c from math operations pow ↵Raymond Lu2013-04-031-11/+10
| | | | | | | | | | | | | | | | and sqrt to simpler multiplication and division to avoid potential rounding problem in math operations. Tested on koala - simple change.
* | [svn-r23528] Bug fix: Mac system has dynamic library name in the form of ↵Albert Cheng2013-04-031-5/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libxyz.dylib. Solution: 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. Solution: 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.
* | [svn-r23525] I merged the changes r23524 from the trunk.Raymond Lu2013-04-021-6/+45
| | | | | | | | Not tested yet.
* | [svn-r23522] I merged the changes that Allen added for supporting dynlib2.c ↵Raymond Lu2013-04-021-33/+37
| | | | | | | | | | | | and dynlib3.c from the trunk. Not tested. Allen will do it.
* | [svn-r23521] I merged the changes for testing groups with filter into this ↵Raymond Lu2013-04-025-25/+242
| | | | | | | | | | | | branch. Tested on jam and koala.
* | [svn-r23512] Replace install-data-local with install-exec-hook in ↵Larry Knox2013-04-012-8/+9
| | | | | | | | | | | | | | | | test/Makefile.am. Change fixes order of chmod and rm for *dynlib* with parallel make. Tested in trunk.
* | [svn-r23510] I merged the changes for DESY project from the trunk (r23496) ↵Raymond Lu2013-04-018-74/+1170
|/ | | | | | into this 1.8 DESY branch. Tested with h5committest (duck failed with CMake because I don't know how to change test/CMakeLists.txt. I'll wait for Allen to do it).
* [svn-r23343] HDFFV-8322: for valgrind testing, split-up testhdf5 tests by ↵Allen Byrne2013-03-125-4/+44
| | | | | | | | excluding and running long running tests separately. Merged from trunk. Tested: local linux
* [svn-r23337] Bug fix: HDFFV-8305Albert Cheng2013-03-071-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-r23324] Snapshot version 1.8 release 11 (snap11)HDF Tester2013-03-041-1/+1
|
* [svn-r23298] Bug fix: HDFFV-8267Albert Cheng2013-02-181-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-r23265] Merge revisions 23230, 23234, and 23237 to 1.8 branchNeil Fortner2013-02-131-0/+1028
| | | | | | | | | | | | | 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; ummon (1.8)