From 58959b61140ddd2bab64644a8c5b06cac0a1950f Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sat, 28 Jan 2023 23:44:50 -0600 Subject: [PATCH] CMake: Output test logs on failure --- tests/ctest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ctest/CMakeLists.txt b/tests/ctest/CMakeLists.txt index 68e9996937..f19e0d3251 100644 --- a/tests/ctest/CMakeLists.txt +++ b/tests/ctest/CMakeLists.txt @@ -1,6 +1,6 @@ enable_testing() add_custom_target(unittests) -add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND}) +add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure) macro(add_pcsx2_test target) add_executable(${target} EXCLUDE_FROM_ALL ${ARGN})