Squish: Stabilize tst_simple_analyze

Change-Id: I3875451ee263a97f0919f08c96318502b49922f4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Loehning
2017-09-26 12:33:03 +02:00
parent b721b2dce9
commit 6d919cd85a

View File

@@ -112,7 +112,7 @@ def performTest(workingDir, projectName, targetCount, availableConfigs):
test.compare(dumpItems(model, column=colPercent)[0], '100.00 %') test.compare(dumpItems(model, column=colPercent)[0], '100.00 %')
# cannot run following test on colShortest (unstable) # cannot run following test on colShortest (unstable)
for i in [colTotal, colMean, colMedian, colLongest]: for i in [colTotal, colMean, colMedian, colLongest]:
for item in dumpItems(model, column=i)[1:5]: for item in dumpItems(model, column=i)[2:5]:
test.verify(item.endswith('ms'), "Verify that '%s' ends with 'ms'" % item) test.verify(item.endswith('ms'), "Verify that '%s' ends with 'ms'" % item)
for i in [colTotal, colMean, colMedian, colLongest, colShortest]: for i in [colTotal, colMean, colMedian, colLongest, colShortest]:
for item in dumpItems(model, column=i): for item in dumpItems(model, column=i):