diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-03-01 16:54:26 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-03-01 16:54:26 (GMT) |
commit | 1653bb14324c2edc1a0c0336eb9f327d4f2e76b9 (patch) | |
tree | 84bc98bec237d7bbe934686a11e2e8cc5a91513f /fortran/test | |
parent | a87a2cf81571a1e0ed466942c389e574d6d9bab5 (diff) | |
download | hdf5-1653bb14324c2edc1a0c0336eb9f327d4f2e76b9.zip hdf5-1653bb14324c2edc1a0c0336eb9f327d4f2e76b9.tar.gz hdf5-1653bb14324c2edc1a0c0336eb9f327d4f2e76b9.tar.bz2 |
Add option TEST_SHARED_PROGRAMS to disable shared testing by default
Diffstat (limited to 'fortran/test')
-rw-r--r-- | fortran/test/CMakeTests.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/test/CMakeTests.cmake b/fortran/test/CMakeTests.cmake index 7cb1bd0..4838aae 100644 --- a/fortran/test/CMakeTests.cmake +++ b/fortran/test/CMakeTests.cmake @@ -27,7 +27,7 @@ add_test (NAME FORTRAN_fflush1 COMMAND $<TARGET_FILE:fflush1>) add_test (NAME FORTRAN_fflush2 COMMAND $<TARGET_FILE:fflush2>) set_tests_properties (FORTRAN_fflush2 PROPERTIES DEPENDS FORTRAN_fflush1) -if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED) +if (BUILD_SHARED_LIBS AND TEST_SHARED_PROGRAMS AND NOT SKIP_HDF5_FORTRAN_SHARED) add_test (NAME FORTRAN_testhdf5_fortran-shared COMMAND $<TARGET_FILE:testhdf5_fortran-shared>) set_tests_properties (FORTRAN_testhdf5_fortran-shared PROPERTIES PASS_REGULAR_EXPRESSION "[ ]*0 error.s") set_tests_properties (FORTRAN_testhdf5_fortran-shared PROPERTIES DEPENDS FORTRAN_testhdf5_fortran) |