Added a check for MySQL client libraries for the connection tests and re-enabled the tests.

This commit is contained in:
Markus Makela
2014-11-09 21:01:39 +02:00
parent 5490954e43
commit 37fa9668a9
5 changed files with 43 additions and 18 deletions

View File

@ -1,3 +1,7 @@
if(BUILD_TESTS)
add_subdirectory(test)
endif()
add_library(testroute SHARED testroute.c)
target_link_libraries(testroute log_manager utils)
install(TARGETS testroute DESTINATION modules)
@ -16,6 +20,3 @@ install(TARGETS cli DESTINATION modules)
add_subdirectory(readwritesplit)
#if(BUILD_TESTS)
# add_subdirectory(test)
#endif()