Tests: Combine conditions for BundleUtilities test
This commit is contained in:
parent
6dfd8e19b5
commit
2c28321adb
@ -610,11 +610,11 @@ if(BUILD_TESTING)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# run test for BundleUtilities on supported platforms/compilers
|
# run test for BundleUtilities on supported platforms/compilers
|
||||||
if(MSVC OR
|
if((MSVC OR
|
||||||
MINGW OR
|
MINGW OR
|
||||||
CMAKE_SYSTEM_NAME MATCHES "Linux" OR
|
CMAKE_SYSTEM_NAME MATCHES "Linux" OR
|
||||||
CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
||||||
if(NOT "${CMAKE_GENERATOR}" STREQUAL "Watcom WMake")
|
AND NOT CMAKE_GENERATOR STREQUAL "Watcom WMake")
|
||||||
|
|
||||||
add_test(BundleUtilities ${CMAKE_CTEST_COMMAND}
|
add_test(BundleUtilities ${CMAKE_CTEST_COMMAND}
|
||||||
--build-and-test
|
--build-and-test
|
||||||
@ -642,7 +642,6 @@ if(BUILD_TESTING)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_BUILD_TEST_SOURCE_DIR "${CMake_SOURCE_DIR}/Tests/COnly")
|
set(CMAKE_BUILD_TEST_SOURCE_DIR "${CMake_SOURCE_DIR}/Tests/COnly")
|
||||||
set(CMAKE_BUILD_TEST_BINARY_DIR "${CMake_BINARY_DIR}/Tests/CMakeBuildCOnly")
|
set(CMAKE_BUILD_TEST_BINARY_DIR "${CMake_BINARY_DIR}/Tests/CMakeBuildCOnly")
|
||||||
|
Loading…
Reference in New Issue
Block a user