From 725fc4da44d61472b99a625ba25c045140adb6fa Mon Sep 17 00:00:00 2001 From: Dimitrios Apostolou Date: Mon, 29 Nov 2021 10:47:55 +0100 Subject: Properly indent qtestlib's XML output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also regenerate the expected output for tst_selftests, to match new output. Changed one line source code in tst_seftests for the same purpose. Change-Id: I930ba4bb290568d6f67a8910a781725f01f08bf1 Reviewed-by: Tor Arne Vestbø --- tests/auto/testlib/selftests/tst_selftests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/auto/testlib/selftests/tst_selftests.cpp') diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp index 2ef3f921dc..8aad22dec8 100644 --- a/tests/auto/testlib/selftests/tst_selftests.cpp +++ b/tests/auto/testlib/selftests/tst_selftests.cpp @@ -311,8 +311,7 @@ bool compareLine(const QString &logger, const QString &subdir, return compareBenchmarkResult(actualResult, expectedResult, errorMessage); } - if (actualLine.startsWith(QLatin1String(" "); QRegularExpressionMatch match = durationRegExp.match(actualLine); if (match.hasMatch()) -- cgit v1.2.3