From 6aac08009254909aab3e0359f3ad7ab4e87a91e9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 14 Mar 2021 14:57:55 +0300 Subject: add `make install`, `make test`, etc. Tests can be called using CTest now. --- test/unit_tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/unit_tests') diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt index 099fc2c..7669e30 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -11,3 +11,5 @@ install(TARGETS unit_tests RUNTIME DESTINATION bin) if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") install(FILES "$" DESTINATION bin OPTIONAL) endif() + +add_test(NAME unit_tests COMMAND unit_tests --no_color_output) -- cgit v1.2.3