unit_tests: add a notifier test

This commit is contained in:
moneromooo-monero 2018-10-01 09:13:22 +00:00
parent 83d8f03c23
commit 98c9225823
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 117 additions and 1 deletions

View file

@ -61,6 +61,7 @@ set(unit_tests_sources
mul_div.cpp
multiexp.cpp
multisig.cpp
notify.cpp
parse_amount.cpp
random.cpp
serialization.cpp
@ -122,4 +123,8 @@ SET_PROPERTY(SOURCE memwipe.cpp PROPERTY COMPILE_FLAGS -Ofast)
add_test(
NAME unit_tests
COMMAND unit_tests --data-dir "${TEST_DATA_DIR}")
COMMAND unit_tests --data-dir "${TEST_DATA_DIR} --binary-dir ${CMAKE_BINARY_DIR}")
add_executable(test_notifier test_notifier.cpp)
target_link_libraries(test_notifier ${EXTRA_LIBRARIES})
set_property(TARGET test_notifier PROPERTY FOLDER "tests")