diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2018-07-19 14:49:32 (GMT) |
---|---|---|
committer | M. Scot Breitenfeld <brtnfld@hdfgroup.org> | 2018-07-26 22:22:52 (GMT) |
commit | c992df8d8ff43f49f553d13bbd666b5f98625a88 (patch) | |
tree | 9a386cf7cb631608a6fe6db03bbcbb42a548356b /bin/cmakehdf5 | |
parent | 35542e9de8ff0eb5331098af00950da5adbb0829 (diff) | |
download | hdf5-c992df8d8ff43f49f553d13bbd666b5f98625a88.zip hdf5-c992df8d8ff43f49f553d13bbd666b5f98625a88.tar.gz hdf5-c992df8d8ff43f49f553d13bbd666b5f98625a88.tar.bz2 |
Add cmakehdf5 command line option to turn on shell script testing.
Option is on by default but can be disabled with --disable-shell-testing.
Diffstat (limited to 'bin/cmakehdf5')
-rwxr-xr-x | bin/cmakehdf5 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/cmakehdf5 b/bin/cmakehdf5 index 7f6453a..da1aef8 100755 --- a/bin/cmakehdf5 +++ b/bin/cmakehdf5 @@ -46,8 +46,9 @@ cacheinit=$srcdir/config/cmake/cacheinit.cmake build_cpp_lib=-DHDF5_BUILD_CPP_LIB:BOOL=OFF # C++ interface default off build_fortran=-DHDF5_BUILD_FORTRAN:BOOL=OFF # Fortran interface default off build_hl_lib=-DHDF5_BUILD_HL_LIB:BOOL=ON # High Level interface default on -build_threadsafe=-DHDF5_ENABLE_THREADSAFE:BOOL=OFF # Threadsafe feature default off +build_threadsafe=-DHDF5_ENABLE_THREADSAFE:BOOL=OFF # Threadsafe feature default off build_testing=-DBUILD_TESTING:BOOL=ON # Build tests default on +build_test_shell=-DTEST_SHELL_SCRIPTS:BOOL=ON # Run shell script tests default on build_tools=-DHDF5_BUILD_TOOLS:BOOL=ON # Build tools default on with_zlib=-DHDF5_ENABLE_Z_LIB_SUPPORT=ON # enable zlib filter default on with_szlib=-DHDF5_ENABLE_SZIP_SUPPORT=OFF # enables szip filter default off @@ -256,6 +257,12 @@ while [ $# -gt 0 ]; do --disable-testing) build_testing=-DBUILD_TESTING:BOOL=OFF ;; + --enable-shell-testing) + build_test_shell=-DTEST_SHELL_SCRIPTS:BOOL=ON + ;; + --disable-shell-testing) + build_test_shell=-DTEST_SHELL_SCRIPTS:BOOL=OFF + ;; --with-zlib) with_zlib=-DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON ;; @@ -342,6 +349,7 @@ STEP "Configure..." \ $build_threadsafe \ $shared_lib \ $build_testing \ + $build_test_shell \ $build_tools \ $with_zlib \ $with_szlib \ |