diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-05-03 16:45:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 16:45:16 (GMT) |
commit | 571990d5c41dc3a0e4ffb3ec18af689576ad5594 (patch) | |
tree | d142ef3c1964fe87fac89089b9f23ea83655350b /testpar/API | |
parent | f8a1b3ceec485829ccdd3034ef2be68029f1a66e (diff) | |
download | hdf5-571990d5c41dc3a0e4ffb3ec18af689576ad5594.zip hdf5-571990d5c41dc3a0e4ffb3ec18af689576ad5594.tar.gz hdf5-571990d5c41dc3a0e4ffb3ec18af689576ad5594.tar.bz2 |
Changes to isolate API Test option files and use fetchcontent (#2880)
Diffstat (limited to 'testpar/API')
-rw-r--r-- | testpar/API/CMakeLists.txt | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/testpar/API/CMakeLists.txt b/testpar/API/CMakeLists.txt index 5eb69c4..e907078 100644 --- a/testpar/API/CMakeLists.txt +++ b/testpar/API/CMakeLists.txt @@ -9,16 +9,31 @@ # help@hdfgroup.org. # -#------------------------------------------------------------------------------ -# Set module path -#------------------------------------------------------------------------------ -set(HDF5_TEST_API_CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake") -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${HDF5_TEST_API_CMAKE_MODULE_PATH}) +cmake_minimum_required (VERSION 3.18) +project (HDF5_TEST_PAR_API C) #------------------------------------------------------------------------------ -# Setup for API tests +# Define for API tests #------------------------------------------------------------------------------ +set (HDF5_API_TESTS + attribute + dataset + datatype + file + group + link + misc + object +) + +if (HDF5_TEST_API_ENABLE_ASYNC) + set (HDF5_API_TESTS + ${HDF5_API_TESTS} + async + ) +endif () + # Ported HDF5 tests set (HDF5_API_PAR_TESTS_EXTRA t_bigio |