hdf5/test
David Young 60756183d9 Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char to
structs containing those arrays.  Encapsulating the arrays in this way
makes it easier to write and think about pointers to these types, casts
to/from these types, etc.

An interesting side-effect that we probably should *not* rely on is
that the struct-encapsulation changes the alignment so that some GCC
warnings about casts that increase the alignment requirement of the
operand go away.  Warnings like that have to be taken seriously:  I will
add -Werror=cast-align to the default compiler flags so that they stop
the build quickly.

GCC warnings led me to some surprising casts in test/trefer.c. I found
that it was possible to make many simplifications after introducing the
struct-encapsulation that I described, above.

In test objcopy_ref `same_file` is assigned but never used.  Delete it.
2019-12-05 14:41:45 -06:00
..
testfiles Correct error test spelling and use 2019-08-13 10:25:05 -05:00
accum_swmr_reader.c
accum.c Follow longstanding execv convention for compatibility with NetBSD. 2019-10-03 16:01:40 -05:00
aggr.h5
app_ref.c
atomic_reader.c OESS-29 Update HD prefix mostly 2019-08-24 14:07:33 -05:00
atomic_writer.c OESS-29 Update HD prefix mostly 2019-08-24 14:07:33 -05:00
AtomicWriterReader.txt
bad_compound.h5
bad_offset.h5
be_data.h5
be_extlink1.h5
be_extlink2.h5
big.c Updates to warnhist script, along with a few cleanups, and add some comments 2019-07-09 22:15:36 -05:00
bittests.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
btree2.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
btree_idx_1_6.h5
btree_idx_1_8.h5
cache_api.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
cache_common.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
cache_common.h
cache_image.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
cache_logging.c
cache_tagging.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
cache.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
chunk_info.c Add new versioned filename to list 2019-09-26 08:43:41 -05:00
CMakeLists.txt Add new H5R API that abstracts object, region and attribute reference types 2019-10-08 14:30:24 -05:00
CMakePassthroughVOLTests.cmake HDFFV-10529 Update CMake tests to use test fixtures 2019-07-23 16:24:56 -05:00
CMakeTests.cmake Mostly whitespace in testpar, addl changes for tmp dir 2019-08-15 10:28:40 -05:00
CMakeVFDTests.cmake Fix VFD tests and repack 2019-08-03 17:28:50 -05:00
cmpd_dset.c OESS-29 Update HD prefix mostly 2019-08-24 14:07:33 -05:00
COPYING
cork.c Converted H5O MD cache cork calls to use the VOL. 2019-09-26 19:13:35 -07:00
corrupt_stab_msg.h5
cross_read.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
dangle.c
deflate.h5
del_many_dense_attrs.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
direct_chunk.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
dsets.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
dt_arith.c Merge cleanup mostly whitespace 2019-07-30 12:39:20 -05:00
dtransform.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
dtypes.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
earray.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
efc.c
enc_dec_plist_cross_platform.c
enc_dec_plist.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
enum.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
err_compat.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
error_test.c Merge reconciliation and VFD test fixes 2019-08-04 15:19:51 -05:00
evict_on_close.c
extend.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
external_common.c Fix conflicting types for reset_raw_data_files() parameter in external_common.c changed from int to hbool_t. 2019-08-01 10:18:45 -05:00
external_common.h Fix missing export tag 2019-07-31 16:50:45 -05:00
external_env.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
external_fname.h Add support for GCC9, update warnhist script, and clean up warnings. 2019-07-02 23:43:45 -05:00
external.c Move function-scope macro definition to file-scope. 2019-09-30 13:57:09 -05:00
family_v16_00000.h5
family_v16_00001.h5
family_v16_00002.h5
family_v16_00003.h5
farray.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
fheap.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
file_image_core_test.h5
file_image.c Updates to warnhist script, along with a few cleanups, and add some comments 2019-07-09 22:15:36 -05:00
filenotclosed.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
filespace_1_6.h5
filespace_1_8.h5
fill18.h5
fill_old.h5
fillval.c Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim() 2019-10-08 14:30:24 -05:00
filter_error.h5
filter_fail.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
filter_plugin1_dsets.c
filter_plugin2_dsets.c
filter_plugin3_dsets.c
filter_plugin4_groups.c
filter_plugin.c
flush1.c
flush2.c Merge reconciliation and VFD test fixes 2019-08-04 15:19:51 -05:00
flushrefresh.c
flushrefreshTest.cmake Fix EXISTS test syntax 2019-08-29 14:43:35 -05:00
freespace.c
fsm_aggr_nopersist.h5
fsm_aggr_persist.h5
gen_bad_compound.c
gen_bad_offset.c
gen_bad_ohdr.c
gen_bogus.c
gen_bounds.c
gen_cross.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
gen_deflate.c
gen_file_image.c
gen_filespace.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
gen_filters.c
gen_mergemsg.c
gen_new_array.c
gen_new_fill.c
gen_new_group.c
gen_new_mtime.c
gen_new_super.c
gen_noencoder.c
gen_nullspace.c
gen_old_array.c
gen_old_group.c
gen_old_layout.c
gen_old_mtime.c
gen_plist.c
gen_sizes_lheap.c
gen_specmetaread.c
gen_udlinks.c
genall5.c Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim() 2019-10-08 14:30:24 -05:00
genall5.h
getname.c
gheap.c Merge reconciliation and VFD test fixes 2019-08-04 15:19:51 -05:00
group_old.h5
h5fc_ext1_f.h5
h5fc_ext1_i.h5
h5fc_ext2_if.h5
h5fc_ext2_sf.h5
h5fc_ext3_isf.h5
h5fc_ext_none.h5
h5test.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
h5test.h Add HD prefix to tests 2019-08-15 16:46:15 -05:00
H5srcdir_str.h.in
H5srcdir.h
hdfs.c Fix compiler warnings with diabled ROS3 and HDFS VFDs. 2019-08-14 15:36:45 -05:00
hyperslab.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
istore.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
le_data.h5
le_extlink1.h5
le_extlink2.h5
lheap.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
links_env.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
links.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
Makefile.am Add new H5R API that abstracts object, region and attribute reference types 2019-10-08 14:30:24 -05:00
memleak_H5O_dtype_decode_helper_H5Odtype.h5
mergemsg.h5
mf.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
mount.c
mtime.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
multi_file_v16-r.h5
multi_file_v16-s.h5
noencoder.h5
none.h5
ntypes.c Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim() 2019-10-08 14:30:24 -05:00
null_vol_connector.c Fixed missing blob callbacks in test VOL connectors. 2019-12-03 15:14:57 -08:00
null_vol_connector.h
objcopy_ref.c Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char to 2019-12-05 14:41:45 -06:00
objcopy.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
ohdr.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
page_buffer.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
paged_nopersist.h5
paged_persist.h5
pool.c
POSIX_Order_Write_Test_Report.docx
POSIX_Order_Write_Test_Report.pdf
reserved.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
ros3.c Untangle #ifdef mess in ROS3 code. 2019-08-19 18:02:47 -07:00
s3comms.c Untangle #ifdef mess in ROS3 code. 2019-08-19 18:02:47 -07:00
set_extent.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
ShellTests.cmake
space_overflow.c
specmetaread.h5
stab.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
swmr_addrem_writer.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
swmr_check_compat_vfd.c
swmr_common.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
swmr_common.h
swmr_generator.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
SWMR_POSIX_Order_UG.txt
swmr_reader.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
swmr_remove_reader.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
swmr_remove_writer.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
swmr_sparse_reader.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
swmr_sparse_writer.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
swmr_start_write.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
SWMR_UseCase_UG.txt
swmr_writer.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
swmr.c
tarray.c Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim() 2019-10-08 14:30:24 -05:00
tarrold.h5
tattr.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
tbad_msg_count.h5
tbogus.h5
tcheck_version.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
tchecksum.c Updated configure & CMake compiler flags for GCC 8.x, along with corresponding 2019-06-28 09:10:43 -05:00
tconfig.c Updated configure & CMake compiler flags for GCC 8.x, along with corresponding 2019-06-28 09:10:43 -05:00
tcoords.c
test_filter_plugin.sh.in
test_filters_be.h5
test_filters_le.h5
test_usecases.sh.in HDFFV-10740 - skip copying dirs in for loops 2019-09-18 11:04:09 -05:00
test_vol_plugin.sh.in
testabort_fail.sh.in
testcheck_version.sh.in
testerror.sh.in
testexternal_env.sh.in
testflushrefresh.sh.in HDFFV-10740 - skip copying dirs in for loops 2019-09-18 11:04:09 -05:00
testframe.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
testhdf5.c Add new H5R API that abstracts object, region and attribute reference types 2019-10-08 14:30:24 -05:00
testhdf5.h Add new H5R API that abstracts object, region and attribute reference types 2019-10-08 14:30:24 -05:00
testlibinfo.sh.in
testlinks_env.sh.in Correct name of folder 2019-08-15 11:07:24 -05:00
testmeta.c OESS-29 Update HD prefix mostly 2019-08-24 14:07:33 -05:00
testswmr.sh.in HDFFV-10740 - skip copying dirs in for loops 2019-09-18 11:04:09 -05:00
testvds_env.sh.in Mostly whitespace in testpar, addl changes for tmp dir 2019-08-15 10:28:40 -05:00
testvdsswmr.sh.in HDFFV-10740 - skip copying dirs in for loops 2019-09-18 11:04:09 -05:00
tfile.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
tgenprop.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
th5o.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
th5s.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
th5s.h5
theap.c
tid.c Add support for GCC9, update warnhist script, and clean up warnings. 2019-07-02 23:43:45 -05:00
titerate.c Add HD prefix to tests 2019-08-15 16:46:15 -05:00
tlayouto.h5
tmeta.c Updated configure & CMake compiler flags for GCC 8.x, along with corresponding 2019-06-28 09:10:43 -05:00
tmisc.c Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim() 2019-10-08 14:30:24 -05:00
tmtimen.h5
tmtimeo.h5
trefer_deprec.c Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char to 2019-12-05 14:41:45 -06:00
trefer.c Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char to 2019-12-05 14:41:45 -06:00
trefstr.c
tselect.c Number of arguments requires H5Dopen2. 2019-09-28 13:01:30 -05:00
tsizeslheap.h5
tskiplist.c
tsohm.c OESS-29 Update HD prefix mostly 2019-08-24 14:07:33 -05:00
ttime.c
ttsafe_acreate.c
ttsafe_cancel.c
ttsafe_dcreate.c
ttsafe_error.c Add support for GCC9, update warnhist script, and clean up warnings. 2019-07-02 23:43:45 -05:00
ttsafe.c
ttsafe.h
ttst.c
tunicode.c Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim() 2019-10-08 14:30:24 -05:00
tvlstr.c Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim() 2019-10-08 14:30:24 -05:00
tvltypes.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
twriteorder.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
unlink.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
unregister.c
use_append_chunk.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
use_append_mchunks.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
use_common.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
use_disable_mdc_flushes.c Fixed some exit calls. 2019-09-06 18:06:26 -07:00
use.h
vds_env.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
vds_swmr_gen.c Add support for GCC9, update warnhist script, and clean up warnings. 2019-07-02 23:43:45 -05:00
vds_swmr_reader.c Add support for GCC9, update warnhist script, and clean up warnings. 2019-07-02 23:43:45 -05:00
vds_swmr_writer.c
vds_swmr.h Add support for GCC9, update warnhist script, and clean up warnings. 2019-07-02 23:43:45 -05:00
vds.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
vfd.c Yanked -Wc++-compat from the flags used to build the C library in both 2019-12-04 00:49:52 -08:00
vol_plugin.c
vol.c Fixed missing blob callbacks in test VOL connectors. 2019-12-03 15:14:57 -08:00