summaryrefslogtreecommitdiffstats
path: root/tools/test/h5jam/CMakeTests.cmake
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2024-03-13 12:35:04 (GMT)
committerGitHub <noreply@github.com>2024-03-13 12:35:04 (GMT)
commit5b7be284bc3a29f3d1b50857f7908f487210212d (patch)
tree612eef5ed54de717b50c5495df10471d01ca67f7 /tools/test/h5jam/CMakeTests.cmake
parent7741170bdd225da130f3ab98c454c118b5511b14 (diff)
downloadhdf5-5b7be284bc3a29f3d1b50857f7908f487210212d.zip
hdf5-5b7be284bc3a29f3d1b50857f7908f487210212d.tar.gz
hdf5-5b7be284bc3a29f3d1b50857f7908f487210212d.tar.bz2
Sync develop branch changes March 4 - 6 to hdf5_1_14 branch (#4121)
* Do not enable szip for sanitizer runs (#4057) * Add note to H5Tset_fields about needing to set datatype precision first (#4059) * Offset of a floating-point type also needs to be accounted for * Clarify ordering of H5Tset_precision and H5Tset_fields * Fix issue where H5Tset_fields does not account for datatype offsets (#4061) H5Tset_fields did not account for any offset in a floating-point datatype, causing it to fail when a datatype's precision is correctly set such that it doesn't include the offset bits. * Ignore UserPresets and Use only C compiler for sanitizers (#4066) * Remove user presets file * Only use C compiler for sanitzers * Rename incorrectly named option (#4067) * Rename incorrectly named option * Restore the correct uses of USING_MEMCHECKER * Update release note * Fix a memory leak in the cmpd_dset test (#4071) This was due to not freeing a test buffer. It was not a core library memory leak. * Fix uninitialized bytes in cmpd_dset test (#4072) Compound fill values were set to the integer -1, causing valgrind to flag 'uninitialized bytes' errors. This is just a problem with the cmpd_dset test and not a core library problem. * Update INSTALL files (#4052) * Add NEWSLETTER and merge abi reports and add sha256sums (#4055) * Fix uninitialized bytes in selection I/O test (#4073) This was due to a complex type fill value being set to -1 instead of a proper complex value. This was a test problem and not a core library issue. * fix path for S3 build path in CI (#4076) * Correct paths for 1.14 and add lines missing from release_docs/INSTALL_CMake.txt. --------- Co-authored-by: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Co-authored-by: jhendersonHDF <jhenderson@hdfgroup.org> Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
Diffstat (limited to 'tools/test/h5jam/CMakeTests.cmake')
-rw-r--r--tools/test/h5jam/CMakeTests.cmake14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/test/h5jam/CMakeTests.cmake b/tools/test/h5jam/CMakeTests.cmake
index 2067e79..2b82e79 100644
--- a/tools/test/h5jam/CMakeTests.cmake
+++ b/tools/test/h5jam/CMakeTests.cmake
@@ -53,7 +53,7 @@
#
macro (TEST_H5JAM_OUTPUT expectfile resultcode)
# If using memchecker add tests without using scripts
- if (HDF5_ENABLE_USING_MEMCHECKER)
+ if (HDF5_USING_ANALYSIS_TOOL)
add_test (NAME H5JAM-${expectfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5jam> ${ARGN})
if (${resultcode})
set_tests_properties (H5JAM-${expectfile} PROPERTIES WILL_FAIL "true")
@@ -85,7 +85,7 @@
#
macro (TEST_H5UNJAM_OUTPUT expectfile resultcode)
# If using memchecker add tests without using scripts
- if (HDF5_ENABLE_USING_MEMCHECKER)
+ if (HDF5_USING_ANALYSIS_TOOL)
add_test (NAME H5JAM-UNJAM-${expectfile} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5unjam> ${ARGN})
if (${resultcode})
set_tests_properties (H5JAM-UNJAM-${expectfile} PROPERTIES WILL_FAIL "true")
@@ -111,7 +111,7 @@
macro (CHECKFILE testname testdepends expected actual)
# If using memchecker add tests without using scripts
- if (NOT HDF5_ENABLE_USING_MEMCHECKER)
+ if (NOT HDF5_USING_ANALYSIS_TOOL)
add_test (
NAME H5JAM-${testname}-CHECKFILE-H5DMP
COMMAND "${CMAKE_COMMAND}"
@@ -150,7 +150,7 @@
endmacro()
macro (UNJAMTEST testname setfile infile ufile chkfile outfile)
- if (NOT HDF5_ENABLE_USING_MEMCHECKER)
+ if (NOT HDF5_USING_ANALYSIS_TOOL)
add_test (
NAME H5JAM-${testname}-UNJAM-SETUP-clear-objects
COMMAND ${CMAKE_COMMAND} -E remove ${infile}
@@ -256,7 +256,7 @@
endmacro()
macro (JAMTEST testname jamfile infile chkfile outfile)
- if (NOT HDF5_ENABLE_USING_MEMCHECKER)
+ if (NOT HDF5_USING_ANALYSIS_TOOL)
add_test (
NAME H5JAM-${testname}-clear-objects
COMMAND ${CMAKE_COMMAND} -E remove ${outfile} ${infile}.cpy.h5
@@ -266,7 +266,7 @@
if ("H5JAM-${testname}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}")
set_tests_properties (H5JAM-${testname} PROPERTIES DISABLED true)
endif ()
- if (NOT HDF5_ENABLE_USING_MEMCHECKER)
+ if (NOT HDF5_USING_ANALYSIS_TOOL)
set_tests_properties (H5JAM-${testname} PROPERTIES DEPENDS H5JAM-${testname}-clear-objects)
set (compare_test ${outfile})
set (compare_orig testfiles/${infile})
@@ -305,7 +305,7 @@
endmacro ()
macro (JAMTEST_NONE testname jamfile infile setfile chkfile)
- if (NOT HDF5_ENABLE_USING_MEMCHECKER)
+ if (NOT HDF5_USING_ANALYSIS_TOOL)
add_test (
NAME H5JAM-${testname}_NONE-clear-objects
COMMAND ${CMAKE_COMMAND} -E remove