From 4a8b045011752169a7228d0a80112a4de169ed2f Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Sun, 3 Nov 2024 02:50:50 +0100 Subject: [PATCH] show why test failed --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 255ed61aaf..be69a2f49a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -543,6 +543,7 @@ if(ENABLE_COVERAGE) endif() option(BUILD_TESTING "" ON) +set(CMAKE_CTEST_ARGUMENTS "--output-on-failure") include(CTest) if(BUILD_TESTING) # TODO: fix tests on windows.