diff options
Diffstat (limited to '')
-rw-r--r-- | test/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/unit_tests/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 0 deletions
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 "$<TARGET_PDB_FILE:call_stack>" 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 "$<TARGET_PDB_FILE:unit_tests>" DESTINATION bin/test OPTIONAL) endif() + +add_test(NAME unit_tests COMMAND unit_tests --log_level=all --no_color_output) |