From 6cb9546a33f832b863788092f2533a7c2247dd22 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 5 Apr 2021 12:11:09 +0300 Subject: cmake: check CTest tests output --- test/unit_tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/unit_tests/CMakeLists.txt b/test/unit_tests/CMakeLists.txt index 7f1045b..b9f87bf 100644 --- a/test/unit_tests/CMakeLists.txt +++ b/test/unit_tests/CMakeLists.txt @@ -13,3 +13,5 @@ install(TARGETS unit_tests RUNTIME DESTINATION bin) install_pdbs(TARGETS unit_tests DESTINATION bin) add_test(NAME unit_tests COMMAND unit_tests --no_color_output) +set_tests_properties(unit_tests PROPERTIES + PASS_REGULAR_EXPRESSION "No errors detected") -- cgit v1.2.3