diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-01-15 17:38:06 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-01-15 17:38:06 (GMT) |
commit | a0ae5e9b896d9548a58b830f5ffad618313a854e (patch) | |
tree | a24c611d2023712db08c09cba013829c97a38f1a /hl/tools/gif2h5 | |
parent | 4077d99645623929cf0c61779c98539efb6742e7 (diff) | |
download | hdf5-a0ae5e9b896d9548a58b830f5ffad618313a854e.zip hdf5-a0ae5e9b896d9548a58b830f5ffad618313a854e.tar.gz hdf5-a0ae5e9b896d9548a58b830f5ffad618313a854e.tar.bz2 |
HDFFV-11001 Add fine control over testing
Diffstat (limited to 'hl/tools/gif2h5')
-rw-r--r-- | hl/tools/gif2h5/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hl/tools/gif2h5/CMakeLists.txt b/hl/tools/gif2h5/CMakeLists.txt index 3cd913f..e12588b 100644 --- a/hl/tools/gif2h5/CMakeLists.txt +++ b/hl/tools/gif2h5/CMakeLists.txt @@ -67,7 +67,7 @@ if (BUILD_SHARED_LIBS) ) endif () -if (BUILD_TESTING) +if (BUILD_TESTING AND HDF5_TEST_SERIAL) # -------------------------------------------------------------------- # This executable can generate the actual test files - Currently not # used in the CMake Build system as we rely on the test files that are @@ -83,7 +83,9 @@ if (BUILD_TESTING) # add_test (NAME hl_h52gifgentest COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:hl_h52gifgentest>) endif () - include (CMakeTests.cmake) + if (HDF5_TEST_TOOLS) + include (CMakeTests.cmake) + endif () endif () #----------------------------------------------------------------------------- |