more configuration options, README update and tests

This commit is contained in:
Markus Makela
2014-09-12 16:48:21 +03:00
parent ba9a31497e
commit 32b72ce474
11 changed files with 199 additions and 148 deletions

View File

@ -1,5 +1,5 @@
add_test(NAME ExecutableTest COMMAND maxscale)
add_test(NAME RunExecutable COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/startmaxscale.sh $<TARGET_FILE:maxscale> "-c ${CMAKE_BINARY_DIR}/")
add_test(NAME WaitForExecutable COMMAND sleep 5)
add_test(NAME KillExecutable COMMAND killall maxscale)
set_tests_properties(WaitForExecutable PROPERTIES DEPENDS ExecutableTest)
set_tests_properties(KillExecutable PROPERTIES DEPENDS ReadWriteSplitTest DEPENDS WaitForExecutable)
set_tests_properties(WaitForExecutable PROPERTIES DEPENDS RunExecutable)
set_tests_properties(KillExecutable PROPERTIES DEPENDS ReadWriteSplitTest)