Build tests by default

The tests are now built by default. This should make it easier for users
to verify that they have a working MaxScale.

Also made the building of test_parse_kill conditional like the rest of the
tests.
This commit is contained in:
Markus Mäkelä 2018-02-08 09:51:24 +02:00
parent b2f17494ad
commit 2a987716a8
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19
2 changed files with 5 additions and 2 deletions

View File

@ -40,7 +40,7 @@ set(GCOV FALSE CACHE BOOL "Use gcov build flags")
set(WITH_SCRIPTS TRUE CACHE BOOL "Install init.d scripts and ldconf configuration files")
# Build tests
set(BUILD_TESTS FALSE CACHE BOOL "Build tests")
set(BUILD_TESTS TRUE CACHE BOOL "Build tests")
# Build packages
set(PACKAGE FALSE CACHE BOOL "Enable package building (this disables local installation of system files)")

View File

@ -5,4 +5,7 @@ install_module(mysqlcommon core)
add_subdirectory(mariadbbackend)
add_subdirectory(mariadbclient)
add_subdirectory(test)
if (BUILD_TESTS)
add_subdirectory(test)
endif()