diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 21:18:49 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-24 21:23:46 +0300 |
commit | f166c71e88d84a640eed1bc99535856f5baac95b (patch) | |
tree | 9ebcc63633f9d18aed04056e40793c2a19e0efbc /test | |
parent | workflows/ci: Bionic to Focal (diff) | |
download | winapi-debug-f166c71e88d84a640eed1bc99535856f5baac95b.tar.gz winapi-debug-f166c71e88d84a640eed1bc99535856f5baac95b.zip |
add CTest tests
Diffstat (limited to 'test')
-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) |