From f166c71e88d84a640eed1bc99535856f5baac95b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 24 Mar 2021 21:18:49 +0300 Subject: add CTest tests --- test/CMakeLists.txt | 2 ++ test/unit_tests/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) (limited to 'test') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 8851856..d429bce 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -18,4 +18,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") install(FILES "$" DESTINATION bin/test OPTIONAL) endif() +add_test(NAME call_stack COMMAND call_stack) + add_subdirectory(unit_tests) diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt index 1241061..90f8bed 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -8,3 +8,5 @@ install(TARGETS unit_tests RUNTIME DESTINATION bin/test) if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") install(FILES "$" DESTINATION bin/test OPTIONAL) endif() + +add_test(NAME unit_tests COMMAND unit_tests --log_level=all --no_color_output) -- cgit v1.2.3