mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
Add option to skip CMake tests that need network access
This commit is contained in:
parent
4b8a864d52
commit
ed294c1664
@ -677,7 +677,7 @@ endif()
|
||||
# to a cdash4simpletest database. In these cases, the CDash dashboards
|
||||
# should be run first.
|
||||
#
|
||||
if("x${CMAKE_TESTS_CDASH_SERVER}" STREQUAL "x")
|
||||
if("x${CMAKE_TESTS_CDASH_SERVER}" STREQUAL "x" AND NOT CMake_TEST_NO_NETWORK)
|
||||
set(CMAKE_TESTS_CDASH_SERVER "http://open.cdash.org")
|
||||
endif()
|
||||
|
||||
|
@ -2619,6 +2619,7 @@ ${CMake_SOURCE_DIR}/Utilities/Release/push.bash --dir dev -- '${CMake_BUILD_NIGH
|
||||
PASS_REGULAR_EXPRESSION "Could not find executable"
|
||||
FAIL_REGULAR_EXPRESSION "SegFault")
|
||||
|
||||
if(NOT CMake_TEST_NO_NETWORK)
|
||||
configure_file(
|
||||
"${CMake_SOURCE_DIR}/Tests/CTestTestUpload/test.cmake.in"
|
||||
"${CMake_BINARY_DIR}/Tests/CTestTestUpload/test.cmake"
|
||||
@ -2629,6 +2630,7 @@ ${CMake_SOURCE_DIR}/Utilities/Release/push.bash --dir dev -- '${CMake_BUILD_NIGH
|
||||
)
|
||||
set_tests_properties(CTestTestUpload PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "Upload\\.xml")
|
||||
endif()
|
||||
|
||||
configure_file(
|
||||
"${CMake_SOURCE_DIR}/Tests/CTestCoverageCollectGCOV/test.cmake.in"
|
||||
|
Loading…
Reference in New Issue
Block a user