summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-01-17 16:46:56 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-18 04:39:17 +0100
commita69525243f1355c7a6b68f00af0fe4fbfd1765e0 (patch)
tree03a83b6f947eda48cde3187a841784ef67d6c3dc /tests/auto/testlib/selftests
parent8cbc47ec49295c502ec91a71848f8ba3a1fe9b76 (diff)
Update test result generator script to set duration to 0
The actual code in testlib now indents the duration tag when it is for a function. Change-Id: Iee62db9c81f11dc54e57f166bf9fb2b7012b7e03 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests/auto/testlib/selftests')
-rwxr-xr-xtests/auto/testlib/selftests/generate_expected_output.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/generate_expected_output.py b/tests/auto/testlib/selftests/generate_expected_output.py
index bf1e808e22..3212bcda2e 100755
--- a/tests/auto/testlib/selftests/generate_expected_output.py
+++ b/tests/auto/testlib/selftests/generate_expected_output.py
@@ -57,7 +57,7 @@ isWindows = sys.platform == 'win32'
replacements = [
(qtver, r'@INSERT_QT_VERSION_HERE@'),
(rootPath.encode('unicode-escape').decode('utf-8'), r''),
- (r'<Duration msecs="\d+"/>', r'<Duration msecs="0"/>'),
+ (r'( *)<Duration msecs="[\d\.]+"/>', r'\1<Duration msecs="0"/>'),
]
extraArgs = {