mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
unit_tests: add a notifier test
This commit is contained in:
parent
83d8f03c23
commit
98c9225823
3 changed files with 117 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue