summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r25607] Add 10 sec timeout to VFD - flush2 tests instead of default 20 min.Allen Byrne2014-09-221-0/+1
|
* [svn-r25531] remove use of C99 PRI that failed on windows in dtypes.cMohamad Chaarawi2014-08-115-55/+65
| | | | fix bugs where hid_t were assumed to be 32 bit ints or herr_t.
* [svn-r25527] fix printf format warnings in dtypes test.Mohamad Chaarawi2014-08-111-2/+2
|
* [svn-r25500] fix HDFFV-8888 - H5Ldelete_by_idx fails on non-existent group name.Mohamad Chaarawi2014-07-311-0/+6
| | | | tested Jam. minor change.
* [svn-r25496] Description:Quincey Koziol2014-07-3021-112/+109
| | | | | | | | | Merge 64-bit ID changes from branch to trunk. (Plus a few minor cleanups that aren't on the branch) Tested on: Mac OSX/64 10.9.4 (amazon) w/C++ & FORTRAN (h5committested on branch already for a week)
* [svn-r25468] some code refactoring to align trunk with VOL branch.Mohamad Chaarawi2014-07-221-4/+1
| | | | tested with h5committest.
* [svn-r25465] BUg fix: HDFFV-8881Albert Cheng2014-07-221-9/+14
| | | | | | | | | | | testfrome.c has incorrectly exit code (using -1). Fixed by replacing them with C defined EXIT_FAILURE. Verified by temporary decreaing MAXNUMTESTS to introduce failure in testhdf to see the changed code did work. Also replaced all other correctly coded exit codes with the C defined EXIT_SUCCESS and EXIT_FAILURE. This would help portability for non-Unix systems. Tested: h5committest.
* [svn-r25450] Description:Quincey Koziol2014-07-211-1/+0
| | | | | | | | Initial tweaks to align with VOL branch. Tested on: Mac OSX/64 10.9.3 (amazon) w/gcc 4.9 (h5committest not required, too small)
* [svn-r25401] add serial and parallel regression tests for zero dset ↵Mohamad Chaarawi2014-07-091-0/+76
| | | | read/write bug.
* [svn-r25397] - remove configure checks for MPI_File_get_size and BigMohamad Chaarawi2014-07-071-1/+0
| | | | | MPI_File_set_size as they are supported by most MPI implementations. - fix bug in t_mpi.c (HDFFV-8856)
* [svn-r25357] Change default timeout to 1200 seconds or 20 minsAllen Byrne2014-06-251-4/+4
| | | | adjust up for certain tests.
* [svn-r25343] Add more vfd tests to smaller timeout limitsAllen Byrne2014-06-231-0/+3
|
* [svn-r25310] Add max time for VFD objcopy testAllen Byrne2014-06-181-0/+1
|
* [svn-r25283] Description:Quincey Koziol2014-06-141-16/+16
| | | | | | | | | | Correct error in new hyperslab selection test to use the right # of dimensions for start/stride/count/block arrays. Also, switch H5Sselect_select to H5Smodify_select. Tested on: MacOSX/64 10.9.3 (amazon) w/gcc 4.9.1, OpenMPI, C++, FORTRAN & threadsafe (Too minor to require h5committest)
* [svn-r25273] Description:Quincey Koziol2014-06-131-298/+1523
| | | | | | | | | | | Bring in Chao/Neil/my changes to optimize hyperslab selection operations further, along with 3 new public API routines: H5Scombine_hyperslab(), H5Sselect_select() and H5Scombine_select(), along with many minor cleanups to the code and fixing a few compiler warnings. Tested on: Mac OSX/64 10.9.3 w/gcc 4.9.x and parallel w/OpenMPI (h5commttest forthcoming)
* [svn-r25261] limit vfd flush1 test timeAllen Byrne2014-06-111-0/+1
|
* [svn-r25188] Implement change to cmake_ext_mod config folderAllen Byrne2014-05-142-10/+13
| | | | Tested: local linux
* [svn-r25117] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll ↵Larry Knox2014-04-251-1/+0
| | | | | | | | | | | back fix for removing rpaths from l ib files. The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath co nfigure option was invoked. Added instead configure variable hardcode_into_lib=no. This removes rpath from lib files on Linux and solaris machines. Tested with h5committest on jam, koala, ostrich and platypus (cmake), and with configure option --disable-sharedlib-rpath on emu, platypus and quail.
* [svn-r25113] Fixed Subversion EOL and executable attributes. No code changes.Dana Robinson2014-04-251-1/+1
|
* [svn-r25097] Description:Quincey Koziol2014-04-251-13/+13
| | | | | | | | | | | Make progress toward moving from DXPL IDs to property list structures within the library. Also move the signature location code from the H5F package to the H5FD package, where it's a better fit. Also, clean up some more compiler warnings along the way. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel (h5committest forthcoming)
* [svn-r25092] Description:Quincey Koziol2014-04-241-84/+89
| | | | | | | | | | More migration to using H5F_io_info_t pointers and away from using property list IDs internally. Also, clean up some compiler warnings in the cache code. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel (h5committest forthcoming)
* [svn-r25084] Description:Quincey Koziol2014-04-231-0/+1
| | | | | | | | | Begin process of migrating from using property list IDs internally to the library to using the internal generic property list data structure. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel (h5committest forthcoming)
* [svn-r24998] Description:Quincey Koziol2014-04-091-0/+110
| | | | | | | | Check in Neil's changes for correctly handling case where library is reinitialized through a deprecated routine. Tested on: Linux 2.4.x/32 (jam)
* [svn-r24995] Description:Quincey Koziol2014-04-092-3/+20
| | | | | | | Improve checks for NULL buffer from user during H5Dread/H5Dwrite calls. Tested on: Linux/32 2.4.x (jam) w/gcc
* [svn-r24993] Purpose:Dana Robinson2014-04-0910-50/+76
| | | | | | | | | | | | | | | Adds write tracking to the core VFD, which can be configured via the H5Pset/get_core_write_tracking() API call. When enabled and writing to the backing store is enabled, this feature will track writes and only write out the changed bytes on flush/close. Tested on: 32-bit LE linux (jam) w/ Fortran and C++ 64-bit BE linux (ostrich) 64-bit Darwin 12.5.0 (kite) All were tested using the core VFD w/ paging on (core_paged in the VFD list). Make check-vfd was also tested on jam.
* [svn-r24950] Add missing prefixAllen Byrne2014-04-031-1/+1
|
* [svn-r24948] Group tests by Common nameAllen Byrne2014-04-021-45/+45
| | | | | | Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32 Tested: local linux CMake
* [svn-r24937] Adds an H5free_memory() function to the library for use withDana Robinson2014-03-316-34/+33
| | | | | | | | | | | | functions that return library-allocated memory. The test and tool code were modified to use this new function where it's appropriate. Fixes HDFFV-7710, HDFFV-8519, and HDFFV-8551 Tested on: 64-bit Windows 7 w/ VS2012 32-bit LE linux w/ parallel and fortran (jam) 32-bit LE linux w/ fortran and C++ (jam)
* [svn-r24932] HDFFV-8290: Remove unnecessary $(srcdir) and use AM_CPPFLAGS ↵Allen Byrne2014-03-312-73/+863
| | | | | | instead of INCLUDES. Update automake to 1.14.1 h5committest
* [svn-r24869] Description:Quincey Koziol2014-03-237-31/+22
| | | | | | | | | | | | | | | | | | | | | | | | | 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 (too minor to require h5committest)
* [svn-r24864] Description:Quincey Koziol2014-03-213-6/+4
| | | | | | | | | | | | | | | | | | 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
* [svn-r24824] HDFFV-8700 -Allen Byrne2014-03-181-3/+3
| | | | | | | | KitWare recommendations: Change CMake commands to lower case. Bump up CMake minimum versions. Split test file into separate file for h5repack test. Tested: local linux
* [svn-r24804] Description:Quincey Koziol2014-03-163-173/+160
| | | | | | | | | | | | | | | | | | | | | | | | 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. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel (too minor to require h5committest)
* [svn-r24803] Description:Quincey Koziol2014-03-1610-20/+6
| | | | | | | | | | | | 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/gcc 4.8.2, C++, FORTRAN, parallel (too minor to require h5committest)
* [svn-r24789] Bump up the minimum cmake versionAllen Byrne2014-03-131-1/+1
|
* [svn-r24782] HDFFV-8700 -Allen Byrne2014-03-112-53/+56
| | | | KitWare recommendations: Change CMake commands to lower case.
* [svn-r24781] HDFFV-8700 -Allen Byrne2014-03-112-140/+140
| | | | | | | KitWare recommendations: Change CMake commands to lower case. Remove INCLUDE_DIRECTORIES in src for target level includes. Change ADD_DEFINITIONS package debug defines into CMake option. Remove -DNDEBUG
* [svn-r24726] Description:Quincey Koziol2014-02-201-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r24709] rename H5V to H5VM since H5V is needed in the fastforward ↵Mohamad Chaarawi2014-02-137-39/+39
| | | | | | | | | | | | 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. Tested Manually on Jam and Ostrich. Tested with h5commitest - Koala with intel compilers failed, but nothing had to do with those changes. error on Koala: error while loading shared libraries: libirng.so
* [svn-r24681] Description:Scot Breitenfeld2014-02-042-3/+16
| | | | | | | | | Fix for HDF5/HDFFV-8620 H5Rget_name with NULL name parameter fails. The name parameter now excepts NULL, in which case the length of then name is returned. Tested: jam (intel and gnu)
* [svn-r24659] Restore dsets test to cmake processAllen Byrne2014-01-282-0/+2
|
* [svn-r24652] 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-r24646] HDFFV-8640: Remove xlate_utility by fixing reference files to ↵Allen Byrne2014-01-277-21/+2
| | | | | | not add extra lines. Tested: cmake and autotools local linux
* [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.