mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Disabled tests by default
This commit is contained in:
parent
d53858afb1
commit
c626332e03
@ -85,7 +85,7 @@ if(SFML_BUILD_WINDOW)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# add an option for building the test suite
|
# add an option for building the test suite
|
||||||
sfml_set_option(SFML_BUILD_TEST_SUITE TRUE BOOL "TRUE to build the SFML test suite, FALSE to ignore it")
|
sfml_set_option(SFML_BUILD_TEST_SUITE FALSE BOOL "TRUE to build the SFML test suite, FALSE to ignore it")
|
||||||
|
|
||||||
# macOS specific options
|
# macOS specific options
|
||||||
if(SFML_OS_MACOSX)
|
if(SFML_OS_MACOSX)
|
||||||
|
@ -40,8 +40,8 @@ if(SFML_BUILD_GRAPHICS)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Automatically run the tests at the end of the build
|
# Automatically run the tests at the end of the build
|
||||||
add_custom_target( runtests ALL
|
add_custom_target(runtests ALL
|
||||||
DEPENDS systemtest windowtest graphicstest
|
DEPENDS systemtest windowtest graphicstest
|
||||||
)
|
)
|
||||||
add_custom_command(TARGET runtests
|
add_custom_command(TARGET runtests
|
||||||
COMMENT "Run tests"
|
COMMENT "Run tests"
|
||||||
|
Loading…
Reference in New Issue
Block a user