mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
Fix make test
Fixed `make test` so that it runs unit tests. codership/wsrep-lib#7
This commit is contained in:
committed by
Teemu Ollakka
parent
435b589ff5
commit
cf434f3da5
@ -13,11 +13,11 @@ add_executable(wsrep-lib_test
|
||||
transaction_test_2pc.cpp
|
||||
wsrep-lib_test.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(wsrep-lib_test wsrep-lib)
|
||||
add_test(NAME wsrep-lib_test
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/wsrep-lib_test
|
||||
)
|
||||
|
||||
add_test(NAME wsrep-lib_test
|
||||
COMMAND wsrep-lib_test)
|
||||
|
||||
if (WSREP_LIB_WITH_AUTO_TEST)
|
||||
set(UNIT_TEST wsrep-lib_test)
|
||||
|
Reference in New Issue
Block a user