move tests to core as it contains tests on core

This commit is contained in:
Eelke Klein 2017-08-27 17:38:52 +02:00
parent f32b7370dc
commit 6d8342b3f3
8 changed files with 17 additions and 16 deletions

View file

@ -21,3 +21,20 @@ set_target_properties(core PROPERTIES
CXX_STANDARD_REQUIRED ON
POSITION_INDEPENDENT_CODE True
)
add_executable(runtests
test/main.cpp
test/tst_CsvWriter.cpp
test/tst_expected.cpp
test/tst_PasswordManager.cpp
test/tst_scopeguard.cpp
test/tst_SqlLexer.cpp
)
target_link_libraries(runtests
core
gtest
Threads::Threads
)
add_test(tests runtests)

View file

@ -1,16 +0,0 @@
add_executable(runtests
main.cpp
tst_CsvWriter.cpp
tst_expected.cpp
tst_PasswordManager.cpp
tst_scopeguard.cpp
tst_SqlLexer.cpp
)
target_link_libraries(runtests
core
gtest
Threads::Threads
)
add_test(tests runtests)