From 9e4a215a2569a04010292c8718d0f0569bc06c12 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 26 Feb 2014 17:12:45 +0100 Subject: Use new QLibraryInfo::build() in testlib to log build information. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This produces: ********* Start testing of tst_QtJson ********* Config: Using QtTest library 5.3.0, Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build) PASS : tst_QtJson::initTestCase() 5.3.0 Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build) 5.3.0 5.3.0 Qt 5.3.0 (Feb 13 2014, GCC 4.6.3, 64 bit, debug build) 5.3.0 [ChangeLog][QtTest] Tests now output build information. Change-Id: I0ab473371575f2b807db725256805b8bffea3454 Reviewed-by: Sergio Ahumada Reviewed-by: Jędrzej Nowacki --- tests/auto/testlib/selftests/generate_expected_output.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/auto/testlib/selftests/generate_expected_output.py') diff --git a/tests/auto/testlib/selftests/generate_expected_output.py b/tests/auto/testlib/selftests/generate_expected_output.py index 1c09faf4db..8c1de0d8b4 100755 --- a/tests/auto/testlib/selftests/generate_expected_output.py +++ b/tests/auto/testlib/selftests/generate_expected_output.py @@ -56,8 +56,11 @@ isWindows = sys.platform == 'win32' replacements = [ (qtver, r'@INSERT_QT_VERSION_HERE@'), + (r'Config: Using QtTest library.*', r'Config: Using QtTest library'), # Build string in text logs (rootPath.encode('unicode-escape').decode('utf-8'), r''), (r'( *)', r'\1'), + (r'( *)[^<]+', r'\1'), # Build element in xml, lightxml + (r'', r'') # Build in xunitxml ] extraArgs = { -- cgit v1.2.3