diff options
Diffstat (limited to '')
-rw-r--r-- | test/benchmarks/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/unit_tests/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/benchmarks/CMakeLists.txt b/test/benchmarks/CMakeLists.txt index 0e168cc..c81a520 100644 --- a/test/benchmarks/CMakeLists.txt +++ b/test/benchmarks/CMakeLists.txt @@ -10,3 +10,5 @@ install(TARGETS benchmarks RUNTIME DESTINATION bin) if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") install(FILES "$<TARGET_PDB_FILE:benchmarks>" DESTINATION bin OPTIONAL) endif() + +add_test(NAME benchmarks COMMAND benchmarks --benchmark_color=false) 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 "$<TARGET_PDB_FILE:unit_tests>" DESTINATION bin OPTIONAL) endif() + +add_test(NAME unit_tests COMMAND unit_tests --no_color_output) |