forked from qt-creator/qt-creator
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:
@@ -103,7 +103,7 @@ def performTest(workingDir, projectName, availableConfigs):
|
||||
compareEventsTab(model, "events_qt%s.tsv" % qtVersion)
|
||||
test.compare(dumpItems(model, column=colPercent)[0], '100 %')
|
||||
# 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]:
|
||||
test.verify(item.endswith('ms'), "Verify that '%s' ends with 'ms'" % item)
|
||||
for i in [colTotal, colMean, colMedian, colLongest, colShortest]:
|
||||
|
Reference in New Issue
Block a user