move tests to core as it contains tests on core
This commit is contained in:
parent
f32b7370dc
commit
6d8342b3f3
8 changed files with 17 additions and 16 deletions
|
|
@ -21,3 +21,20 @@ set_target_properties(core PROPERTIES
|
||||||
CXX_STANDARD_REQUIRED ON
|
CXX_STANDARD_REQUIRED ON
|
||||||
POSITION_INDEPENDENT_CODE True
|
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)
|
||||||
|
|
|
||||||
|
|
@ -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)
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue