Squish: Stabilize tst_simple_analyze

The total time may be more than 1s when
the CPU is busy. Ignoring this column.

Change-Id: I9c80fecb618bcad1bc3e7922c5a573964cd019a4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Loehning
2019-01-18 18:30:38 +01:00
parent ffa14187a1
commit a7bbcb8e39

View File

@@ -103,7 +103,7 @@ def performTest(workingDir, projectName, availableConfigs):
compareEventsTab(model, "events_qt%s.tsv" % qtVersion) compareEventsTab(model, "events_qt%s.tsv" % qtVersion)
test.compare(dumpItems(model, column=colPercent)[0], '100 %') test.compare(dumpItems(model, column=colPercent)[0], '100 %')
# cannot run following test on colShortest (unstable) # cannot run following test on colShortest (unstable)
for i in [colTotal, colMean, colMedian, colLongest]: for i in [colMean, colMedian, colLongest]:
for item in dumpItems(model, column=i)[2: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]: