summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
Commit message (Collapse)AuthorAgeFilesLines
* Improving testsBinh-Minh Ribler2018-02-171-4/+4
| | | | | | | | | | | | Description: - Added test for version bounds with nested datatypes - Added script for additional version bound test in h5repack - Cleaned up tests for consistency - Removed extra included header files Platforms tested: Linux/64 (jelly) Linux/64 (moohan) Darwin (osx1010test)
* More includes cleanupAllen Byrne2018-02-141-78/+77
|
* Additional testsBinh-Minh Ribler2018-02-131-61/+358
| | | | | | | | | | Description: - Revised and add more variety to version bound tests per review - Revised gen_bounds.c per review Platforms tested: Linux/64 (jelly) Linux/32 (jam) Darwin (osx1010test)
* Correct linkage of filters and other libsAllen Byrne2017-11-161-1/+1
|
* HDFFV-10297 update calls to H5Zfilter_availAllen Byrne2017-10-091-1499/+1380
|
* Fix for HDFFV-10217 infinite loop in H5VM_power2up().Vailin Choi2017-07-101-2/+95
| | | | | | The function H5VM_power2up() returns the next power of 2 for n. When n exceeds 2^63, it overflows and becomes 0 causing the infinite looping. The fix ensures that the function checks for n >= 2^63 and returns 0.
* Merge branch 'develop' into windows_openDana Robinson2017-05-311-2/+117
|\
| * Fixed additional minor warnings.Dana Robinson2017-05-251-0/+3
| |
| * Call to H5Dopen has H5dopen2 arguments at line 12704 of test/dsets.c -lrknox2017-05-101-1/+1
| | | | | | | | | | changed to H5Dopen2 to fix failure with --with-default-api-version=v16 configure option.
| * Fix for the two issues reported in HDFFV-10051Vailin Choi2017-05-091-13/+6
| | | | | | | | | | Modifications made based on the review comments from pull request #494 Tested on moohan, mayll, kituo, platypus, ostrich, osx1010test, quail, emu.
| * Fix for the two issues reported in HDFFV-10051:Vailin Choi2017-05-071-0/+119
| | | | | | | | | | | | | | | | | | | | | | (1) Repeated open/close of a compact dataset fails due to the increment of ndims in the dataset structure for every open. --This is done only for chunked dataset via H5D__chunk_set_sizes(). (2) layout "dirty" flag for a compact dataset is not reset properly after flushing the data at dataset close. --Reset the "dirty" flag before flushing the message to the object header via H5O_msg_write(). Tested on moohan, kituo, platypus, ostrich, osx1010test, quail, emu.
* | 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.
* Final merge of page buffering branch to developQuincey Koziol2017-03-141-87/+131
|
* Misc. small cleanups to sync against incoming page buffering changes.Quincey Koziol2017-03-021-4/+6
|
* Bring over tweak for missing environment variable.Quincey Koziol2016-12-181-1/+1
|
* Bring SWMR support in to the main development branch. (Finally!) More testsQuincey Koziol2016-12-021-11/+649
| | | | and the tool and API wrappers will be coming in over the weekend.
* Changes to be committed:Frank.Willmore2016-10-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | modified: bittests.c modified: cmpd_dset.c modified: dsets.c modified: dt_arith.c modified: dtypes.c modified: extend.c modified: fillval.c modified: filter_fail.c modified: flush1.c modified: gen_cross.c modified: hyperslab.c modified: istore.c modified: links.c modified: links_env.c modified: objcopy.c modified: plugin.c modified: tcheck_version.c modified: unlink.c modified: unregister.c Minor fixes to replace numeric exit codes with MACRO declarations. Not all codes found were boolean, and those cases were not changed.
* Fixed Windows dsets.c test failure.Dana Robinson2016-10-141-1/+1
| | | | | | | A 'static' keyword was removed from an array that needs it on Windows during a warning removal overhaul. Replacing it fixes the error. Tested on: 64-bit Windows 7 w/ VS 2015
* Revert "Fixed Windows test failures."Dana Robinson2016-10-141-1/+1
| | | | This reverts commit f1dcda5c8e23d4897b5fe49049b8d939313b39c6.
* Fixed Windows test failures.derobins2016-10-141-1/+1
| | | | | | Replaced a static keyword that was deleted during a warnings overhaul. Tested on 64-bit Visual Studio 2015
* Clean up hardcoded constants and check return values better. (Comments fromQuincey Koziol2016-09-291-6/+10
| | | | group code review)
* Description:Quincey Koziol2016-09-271-13/+69
| | | | Further warning cleanups: from 667 warnings to 503.
* [svn-r30189] Description:Quincey Koziol2016-07-181-268/+391
| | | | | | | | | Clean up more warnings: drop the warning count from ~1310 down to ~940, with only 31 types of warnings in 148 files (down from 38 types in 167 files). Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r30112] Description:Quincey Koziol2016-06-281-1/+2
| | | | | | | | | | Move updated flush dependency code in metadata cache from revise_chunks branch to trunk. Also many of the cleanups from r30111 in the revise_chunks branch. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29770] Description:Quincey Koziol2016-04-231-1/+19
| | | | | | | | Bring 'none' chunk index from revise_chunks branch to trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd) (h5committest forthcoming)
* [svn-r29743] Description:Quincey Koziol2016-04-191-0/+5
| | | | | | | | Close another FAPL in the test_missing_chunk() routine. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd) (h5committest forthcoming)
* [svn-r29738] Description:Quincey Koziol2016-04-191-2/+246
| | | | | | | | Bring "single" chunk index from revise_chunks branch to trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd) (h5committest forthcoming)
* [svn-r29736] Description:Quincey Koziol2016-04-191-0/+5
| | | | | | | | Close FAPL that was leaked in zero_dims test. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production, including check-vfd (h5committest forthcoming)
* [svn-r29722] Description:Quincey Koziol2016-04-171-106/+1585
| | | | | | | | Bring over more dataset tests from the revise_chunks branch. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29717] Description:Quincey Koziol2016-04-161-0/+404
| | | | | | | | | | Correct chunk index computation for earrays and farrays, particularly when copying datasets with H5Ocopy() and other operations (like H5Dget_storage_size) that require iterating over all chunks. Tested on: MacOSX/64 10.11.4 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r29659] Added fixed array chunk indexing from revise_chunks.Dana Robinson2016-04-071-0/+406
| | | | | Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 Autotools serial w/ Java, Fortran, & C++
* [svn-r29635] Description:Quincey Koziol2016-04-051-3/+22
| | | | | | | | | Bring support for earray and v2 B-trees from revise_chunks branch to trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29607] Description:Quincey Koziol2016-04-021-18/+209
| | | | | | | | | Bring "don't filter partial edge chunks" capability from revise_chunks to trunk. Tested on: MacOSX/64 10.11.4 (amazon) w/debug, production & parallel (h5committest forthcoming)
* [svn-r29548] Minor normalization w/ trunk in preparation for big merge.Dana Robinson2016-03-241-21/+18
| | | | | | Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial autotools parallel (MPICH 3.1.4)
* [svn-r28710] Description:Quincey Koziol2015-12-191-33/+34
| | | | | | | | | | | | Bring r28708 from revise_chunks branch: Fix earray, farray and btree2 use of incorrect file pointer when two files are opened and used to access the data structure. Misc. minor code cleanups as well. Tested on: MacOSX/64 10.11.2 (amazon) w/serial & parallel h5committest forthcoming
* [svn-r28138] Add first support for _Bool and make hbool_t a "real" _Bool if ↵Jerome Soumagne2015-10-201-1/+1
| | | | | | | | | | | | | | available Fix tests accordingly and fix misuse of hbool_t in various places Fix initialization of H5Pgcpl/ocpl structs in property decoding routines Tested on: Linux/32 (jam) Linux/64 (platypus) Linux/PPC64 (ostrich) MacOSX/64 10.11
* [svn-r27810] Description:Quincey Koziol2015-09-161-6/+39
| | | | | | | Clean up resources on failure Tested on: Linux/32 2.6.x (jam) w/Purify
* [svn-r27807] Description:Quincey Koziol2015-09-161-0/+2
| | | | | | | Close memory leak on failure. Tested on: Linux/32 2.6.x (jam) w/purify
* [svn-r27800] Minor warning fixes in the library tests.Dana Robinson2015-09-161-43/+55
| | | | Tested on: jam (too minor for h5committest)
* [svn-r27768] Description:Quincey Koziol2015-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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-r27626] Various minor warning fixes before major SWMR and VDS merges.Dana Robinson2015-08-311-1/+1
| | | | | | | | | | | gcc 4.9.2 was used to create the warning list - implicit casts - shadowed variables - various enum issues - other minor fixes (comments, unused macros, etc.) Tested on: h5committest
* [svn-r27548] Revert r27545Jerome Soumagne2015-08-211-1/+1
|
* [svn-r27545] Add first support for _Bool and make hbool_t a "real" _Bool if ↵Jerome Soumagne2015-08-211-1/+1
| | | | | | available Fix tests accordingly
* [svn-r27204] Description:Quincey Koziol2015-06-151-10/+10
| | | | | | | | | Clean up compiler warnings before merging in v3 metadata cache changes from branch. Tested on: MacOSX/64 10.10.3 (amazon) w/serial & parallel Linux/32 2.6.x (jam) w/serial & parallel
* [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-21/+21
| | | | | | | | * 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-r26757] Description:Quincey Koziol2015-04-071-7/+7
| | | | | | | | Minor typos & code cleanups Tested on: MacOSX/64 10.10.2 (amazon) w/serial & parallel (Too minor to require h5committest)
* [svn-r26333] Eliminates gcc warnings due to -Wunsuffixed-float-constants.Dana Robinson2015-03-011-37/+49
| | | | | | | | | | | | - Adds 'F' suffixes for most float constants. - A few constants MUST be of type double. These now receive the long double L suffix and are then cast to double. I do this via a new H5_DOUBLE() macro which was added to H5private.h. Fixes: HDFFV-9148 Tested on: h5committest
* [svn-r26329] Merge of r26069, r26070, and r26072 from the ↵Dana Robinson2015-02-271-325/+39
| | | | | | | | | | | | | | | | | | features/autotools_rework branch. Removed the configure option that allows selective disabling of individual internal filters (fletcher32, shuffle, etc.). This feature mucked up the code with a lot of #ifdefs, saved very little space, and was not scalable to a general scheme for library size reduction. We've decided to remove the feature while we investigate a more general scheme for decreasing the library size. Part of: HDFFV-9086 Tested on: h5committest