From a15d87c0092839000d57fde79042aff27fa65607 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 24 Nov 2015 01:19:55 +0000 Subject: [PATCH 05/10] cmake: run all automated tests with --tap for better diagnostics For GLib-based tests it's useful, because it means g_test_message() gets logged. For the embedded tests it's now accepted and ignored. --- cmake/modules/Macros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/Macros.cmake b/cmake/modules/Macros.cmake index fd3f62c..8d6cf11 100644 --- a/cmake/modules/Macros.cmake +++ b/cmake/modules/Macros.cmake @@ -43,11 +43,11 @@ macro(add_test_executable _target _source) # run tests with binfmt_misc set(PREFIX "z:") set(_env "DBUS_TEST_DAEMON=${PREFIX}${CMAKE_BINARY_DIR}/bin/dbus-daemon${EXEEXT}") - add_test(NAME ${_target} COMMAND $) + add_test(NAME ${_target} COMMAND $ --tap) else() set(PREFIX) set(_env "DBUS_TEST_DAEMON=${CMAKE_BINARY_DIR}/bin/dbus-daemon${EXEEXT}") - add_test(NAME ${_target} COMMAND $) + add_test(NAME ${_target} COMMAND $ --tap) endif() list(APPEND _env "DBUS_SESSION_BUS_ADDRESS=") list(APPEND _env "DBUS_FATAL_WARNINGS=1") -- 2.6.2