Disabled tests by default

This commit is contained in:
Lukas Dürrenberger 2018-08-20 23:49:56 +02:00 committed by Lukas Dürrenberger
parent d53858afb1
commit c626332e03
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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"