summaryrefslogtreecommitdiffstats
path: root/test/h5test.c
Commit message (Collapse)AuthorAgeFilesLines
* Trim trailing whitespaceQuincey Koziol2020-05-201-1/+1
|
* Add Splitter VFD to library.Jacob Smith2020-05-201-0/+75
| | | | | | | | | | | | | | | * "Simultaneous and equivalent" Read-Write and Write-Only channels for file I/O. * Only supports drivers with the H5FD_FEAT_DEFAULT_VFD_COMPATIBLE flag for now, preventing issues with multi-file drivers. Add Mirror VFD to library. * Write-only operations over a network. * Uses TCP/IP sockets. * Server and auxiliary server-shutdown programs provided in a new directory, `utils/mirror_vfd`. * Automated testing via loopback ("remote" of localhost).
* Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion.David Young2020-05-201-1/+1
| | | | | Fix a typo in the H5TS_thread_init() comment and reword some ID properties.
* Replace pthread_self_ulong() with H5TS_thread_id(). The POSIX ThreadsDavid Young2020-05-201-3/+1
| | | | | implementation ought to be portable to any system that has POSIX Threads. On Windows, I use the same API call as before.
* Reduce differences between my -Werror branch and `develop`:David Young2020-05-201-6/+4
| | | | | | | | Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC shadowed declaration warnings about index(3). Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.
* fix unused function warningkmu2020-05-201-0/+60
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-05-201-2/+2
|
* fix intel compile warningskmu2020-05-201-2/+1
|
* Revert "fix warnings and some text alignment"kmu2020-05-201-12/+14
| | | | This reverts commit d06474c4e1ba8628f896e57e619d4b142e6ba8b0.
* fix warnings and some text alignmentkmu2020-05-201-14/+12
|
* Yanked -Wc++-compat from the flags used to build the C library in bothDana Robinson2020-05-201-4/+4
| | | | the Autotools and CMake.
* Merge all of my changes from merge-back-to-feature-vfd_swmr-attempt-1,David Young2019-12-091-286/+424
| | | | | | | | including the merge of `hdffv/hdf5/develop`, back to the branch that Vailin and I share. Now I need to put this branch on a fork with a less confusing name than vchoi_fork!
* Straggler from last commit: make TESTING() take printf-like varargsDavid Young2019-09-231-0/+11
| | | | arguments.
* Normalization with vol_integration (test code and H5Xtest.c)Dana Robinson2018-09-201-7/+3
|
* Changes made based on feedback from pull request #1039.Vailin Choi2018-05-141-1/+1
|
* Fix for HDFFV-10180 Performance issues with H5Oget_info.Vailin Choi2018-04-241-2/+2
|
* Normalization with VOL integration branch.Dana Robinson2017-12-051-65/+42
|
* Added a test for VFD IDs to testhdf5.Dana Robinson2017-07-011-0/+100
| | | | | | | This required adding some code to generate a fake VFD class to pass to H5FDregister(). Also, a bunch of whitespace and comment tidying.
* Rework of the POSIX file open permissions and macros to clean upDana Robinson2017-04-281-2/+2
| | | | | | HDopen() calls. Also fixed a minor const warning in the core VFD.
* Changed the Windows POSIX open() file permissions to be correctDana Robinson2017-04-281-2/+2
| | | | according to MSDN. Partial fix for HDFFV-9630.
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* Deleted an extraneous remove() call from a test functionDana Robinson2017-02-081-3/+1
| | | | that might be causing the flushrefresh test to fail.
* Bring new/updated tests from revise+chunks branch: flush1/flush2 update andQuincey Koziol2016-12-201-0/+121
| | | | flushrefresh test. (Also refactor of message send / wait code)
* Fixed a few memory problems in test/cache_logging.c andDana Robinson2016-11-231-11/+22
| | | | test/h5test.c (which show up in test/vfd.c).
* Merge branch 'develop' into evict_on_closeDana Robinson2016-09-301-7/+25
|\
| * Clean up hardcoded constants and check return values better. (Comments fromQuincey Koziol2016-09-291-2/+5
| | | | | | | | group code review)
| * Description:Quincey Koziol2016-09-291-2/+2
| | | | | | | | | | | | | | | | Cleanups from Dana's review. Tested on: MacOSX/64 10.11.5 (amazon) w/C++ & FORTRAN (h5committest forthcoming)
| * Description:Quincey Koziol2016-09-271-7/+22
| | | | | | | | Further warning cleanups: from 667 warnings to 503.
* | Fixed typoDana Robinson2016-09-241-1/+1
|/
* [svn-r30295] Minor whitespace cleanup in h5test.c.Dana Robinson2016-08-171-45/+55
| | | | | Tested on: 64-bit Ubuntu 16.04 LTS w/ gcc 5.4.0 Autotools serial w/ make check-vfd
* [svn-r30113] Description:Quincey Koziol2016-06-281-3/+3
| | | | | | | | Clean up warnings (from 2774 -> 1560, with my standard debug build) Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r30017] Description:Quincey Koziol2016-06-061-1/+1
| | | | | | | | | Bring warning cleanusp in r29990, 29993, 29997, 29999, 30004 from revise_chunks branch to trunk. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production. (h5committest forthcoming)
* [svn-r29881] Add include guards.Allen Byrne2016-05-041-2/+1
| | | | Remove unnecessary includes.
* [svn-r29548] Minor normalization w/ trunk in preparation for big merge.Dana Robinson2016-03-241-7/+7
| | | | | | Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial autotools parallel (MPICH 3.1.4)
* [svn-r29132] Added new single-responsibility functions to h5test.c/h that canDana Robinson2016-02-171-0/+294
| | | | | | | | | | | replace functions like h5_clean_files() that also do things like reset the error handler and close fapls. Existing tests have not yet been updated to use these new functions. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial
* [svn-r27848] Description:Quincey Koziol2015-09-221-2/+2
| | | | | | | | Clean up warnings and some normalization against trunk. Tested: McaOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
* [svn-r27835] Description:Quincey Koziol2015-09-211-15/+47
|\ | | | | | | | | | | | | | | Sync w/trunk. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel (h5committest not required on this branch)
| * [svn-r27768] Description:Quincey Koziol2015-09-141-12/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
* | [svn-r27420] Fixed VDS test to handle the family driver correctly.Neil Fortner2015-07-211-5/+31
| | | | | | | | Tested: ummon
* | [svn-r27191] Merged r26781 to r27185 from trunkDana Robinson2015-06-111-79/+83
|\ \ | |/ | | | | | | Tested on: 64-bit Ubuntu Linux VM w/ gcc 4.8.2 (C++ and Fortran 2003 also tested)
| * [svn-r27185] fix more instances where both mpi is_initialized and ↵Mohamad Chaarawi2015-06-101-77/+81
| | | | | | | | | | | | is_finalized need to be checked before making any MPI calls. tested with h5committest.
| * [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-3/+3
| | | | | | | | | | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* | [svn-r27153] Implement fill value support for VDS.Neil Fortner2015-06-051-6/+6
| | | | | | | | | | | | | | | | | | Add testing for this. Fix bug in printf string parsing. Add test for this. Other minor fixes/cleanup. Tested: ummon
* | [svn-r27145] Add some testing for printf-style source dataset name resolution.Neil Fortner2015-06-031-42/+67
|/ | | | | | | Various bug fixes, including a temporary fix for printf with FIRST_MISSING view. Other cleanup. Tested: ummon
* [svn-r25750] use MPI_File_get_size() instead of stat when retrieving the ↵Mohamad Chaarawi2014-10-281-4/+17
| | | | file size for the MPIO driver.
* [svn-r25659] fix filename generation with prefix for perf test.Mohamad Chaarawi2014-10-021-20/+74
| | | | tested h5commitest, jam & platypus parallel.
* [svn-r25496] Description:Quincey Koziol2014-07-301-2/+2
| | | | | | | | | 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-r24993] Purpose:Dana Robinson2014-04-091-48/+56
| | | | | | | | | | | | | | | 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-r24864] Description:Quincey Koziol2014-03-211-3/+3
| | | | | | | | | | | | | | | | | | 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-r24804] Description:Quincey Koziol2014-03-161-83/+68
| | | | | | | | | | | | | | | | | | | | | | | | 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)