more on database (tests)

This commit is contained in:
Martin Brodbeck 2018-07-10 15:46:55 +02:00
parent 53666163b4
commit eeae4fe609
4 changed files with 27 additions and 23 deletions

View file

@ -2,8 +2,8 @@ find_package(Boost COMPONENTS unit_test_framework REQUIRED)
add_executable(test_seller test_seller.cpp)
target_link_libraries(test_seller core Boost::unit_test_framework)
add_test(Seller ${CMAKE_BINARY_DIR}/bin/test_seller)
add_test(NAME Seller COMMAND ${CMAKE_BINARY_DIR}/bin/test_seller)
add_executable(test_database test_database.cpp)
target_link_libraries(test_database core Boost::unit_test_framework stdc++fs)
add_test(Database ${CMAKE_BINARY_DIR}/bin/test_database)
add_test(NAME Database COMMAND ${CMAKE_BINARY_DIR}/bin/test_database)