From cbc777374a26134e87054b2292a800d4b3835d82 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Mon, 27 Feb 2012 16:31:03 +1000 Subject: testlib: Improve the silent logging mode Previously the silent logging mode suppressed passes, skips and internal testlib info messages, but did not suppress debugging output, making it hard to see the fails in a noisy test. This commit changes silent mode so that it suppresses all output except test failures and fatal errors, making silent mode truly useful for seeing just the important test output. This commit also adds a selftest to verify the behaviour of silent mode. Change-Id: I75420aead03682306210746a87e2a3b608b58fc6 Reviewed-by: Rohan McGovern --- tests/auto/testlib/selftests/silent/silent.pro | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/auto/testlib/selftests/silent/silent.pro (limited to 'tests/auto/testlib/selftests/silent/silent.pro') diff --git a/tests/auto/testlib/selftests/silent/silent.pro b/tests/auto/testlib/selftests/silent/silent.pro new file mode 100644 index 0000000000..3150f65a5e --- /dev/null +++ b/tests/auto/testlib/selftests/silent/silent.pro @@ -0,0 +1,7 @@ +SOURCES += tst_silent.cpp +QT = core testlib-private + +mac:CONFIG -= app_bundle +CONFIG -= debug_and_release_target + +TARGET = silent -- cgit v1.2.3