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>
This commit is contained in:
Frederik Gladhorn 2014-01-17 16:46:56 +01:00 committed by The Qt Project
parent 8cbc47ec49
commit a69525243f

View File

@ -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 = {