add more ctest test

This commit is contained in:
Eyck Jentzsch 2020-06-04 20:13:02 +02:00
parent e4c8ba0d8b
commit 954bbed352
3 changed files with 8 additions and 2 deletions

View File

@ -10,3 +10,5 @@ add_executable (simple_system
) )
target_link_libraries (simple_system LINK_PUBLIC scc) target_link_libraries (simple_system LINK_PUBLIC scc)
target_link_libraries (simple_system LINK_PUBLIC ${Boost_LIBRARIES} ) target_link_libraries (simple_system LINK_PUBLIC ${Boost_LIBRARIES} )
add_test(NAME simple_system_test COMMAND simple_system)

View File

@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.12) cmake_minimum_required(VERSION 3.12)
add_executable (io_redirector_test add_executable (io_redirector
main.cpp main.cpp
) )
target_link_libraries (io_redirector_test LINK_PUBLIC scc) target_link_libraries (io_redirector LINK_PUBLIC scc)
add_test(NAME io_redirector_test COMMAND io_redirector)

View File

@ -4,3 +4,5 @@ add_executable (ordered_sem
) )
target_link_libraries (ordered_sem LINK_PUBLIC scc) target_link_libraries (ordered_sem LINK_PUBLIC scc)
target_link_libraries (ordered_sem LINK_PUBLIC ${Boost_LIBRARIES} ) target_link_libraries (ordered_sem LINK_PUBLIC ${Boost_LIBRARIES} )
add_test(NAME ordered_sem_test COMMAND ordered_sem)