aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-05 12:11:09 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-05 12:11:09 +0300
commit6cb9546a33f832b863788092f2533a7c2247dd22 (patch)
treecc39c87c34ba1f75e0a31490b6384b8167564e62 /test/unit_tests
parentMakefile: best practices (diff)
downloadmath-server-6cb9546a33f832b863788092f2533a7c2247dd22.tar.gz
math-server-6cb9546a33f832b863788092f2533a7c2247dd22.zip
cmake: check CTest tests output
Diffstat (limited to '')
-rw-r--r--test/unit_tests/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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")