Added new Make target for testing MaxScale's core parts.

This target doesn't need a running MaxScale and only executes core, log_manager and query_classifier unit tests.
This commit is contained in:
Markus Makela
2015-03-19 11:56:40 +02:00
parent f383f745cb
commit 15262f3fbf
6 changed files with 39 additions and 32 deletions

View File

@ -2,4 +2,4 @@ add_executable(testlog testlog.c)
add_executable(testorder testorder.c)
target_link_libraries(testlog pthread log_manager utils)
target_link_libraries(testorder pthread log_manager utils)
add_test(NAME TestLogOrder COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/logorder.sh 200 0 1000 ${CMAKE_CURRENT_BINARY_DIR}/logorder.log)
add_test(NAME Internal-TestLogOrder COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/logorder.sh 200 0 1000 ${CMAKE_CURRENT_BINARY_DIR}/logorder.log)