Add -DBUILD_TESTING=ON to .yml files; it's not default anymore

This commit is contained in:
Peter Dimov
2021-03-19 03:49:19 +02:00
parent 793d7580e8
commit a3ca728471
2 changed files with 2 additions and 2 deletions

View File

@@ -324,7 +324,7 @@ matrix:
env: CMAKE=1
script:
- mkdir __build__ && cd __build__
- cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=assert ..
- cmake -DBOOST_ENABLE_CMAKE=1 -DBUILD_TESTING=ON -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=assert ..
- ctest --output-on-failure -R boost_assert
- os: linux

View File

@@ -61,7 +61,7 @@ test_script:
- if "%CMAKE%%CMAKE_SUBDIR%%CMAKE_INSTALL%" == "" b2 -j 3 libs/assert/test toolset=%TOOLSET% %CXXSTD% %ADDRMD%
- if not "%CMAKE%" == "" mkdir __build__ && cd __build__
- if not "%CMAKE%" == "" cmake -DBOOST_ENABLE_CMAKE=1 -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=assert ..
- if not "%CMAKE%" == "" cmake -DBOOST_ENABLE_CMAKE=1 -DBUILD_TESTING=ON -DBoost_VERBOSE=1 -DBOOST_INCLUDE_LIBRARIES=assert ..
- if not "%CMAKE%" == "" ctest --output-on-failure -R boost_assert -C Debug
- if not "%CMAKE%" == "" ctest --output-on-failure -R boost_assert -C Release
- if not "%CMAKE%" == "" ctest --output-on-failure -R boost_assert -C MinSizeRel