summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-05-17 16:54:05 (GMT)
committerGitHub <noreply@github.com>2022-05-17 16:54:05 (GMT)
commit081b3902bfd2d5ffbf7a2925db2a9ff802288579 (patch)
tree0426cd1de6b5e7ab8787931a4e8982d65d31f584 /CMakeLists.txt
parente7b184e79ec489ae7a373840a75ec45ea355d635 (diff)
downloadhdf5-081b3902bfd2d5ffbf7a2925db2a9ff802288579.zip
hdf5-081b3902bfd2d5ffbf7a2925db2a9ff802288579.tar.gz
hdf5-081b3902bfd2d5ffbf7a2925db2a9ff802288579.tar.bz2
Set default level to minimum time (#1722)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 018c46d..fb074e2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -953,8 +953,13 @@ if (BUILD_TESTING)
mark_as_advanced (HDF5_TEST_FHEAP_PASSTHROUGH VOL)
endif ()
- option (HDF_TEST_EXPRESS "Control testing framework (0-3)" "0")
+ set (H5_TEST_EXPRESS_LEVEL_DEFAULT "3")
+ set (HDF_TEST_EXPRESS "${H5_TEST_EXPRESS_LEVEL_DEFAULT}"
+ CACHE STRING "Control testing framework (0-3) (0 = exhaustive testing; 3 = quicker testing)")
mark_as_advanced (HDF_TEST_EXPRESS)
+ if (NOT "${HDF_TEST_EXPRESS}" STREQUAL "")
+ set (H5_TEST_EXPRESS_LEVEL_DEFAULT "${HDF_TEST_EXPRESS}")
+ endif ()
enable_testing ()
include (CTest)