Squish: Remove handling for closed bug

Change-Id: Ib78d62620b45458ebaddc3d0e8575ffe9be093db
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
This commit is contained in:
Christian Stenger
2020-05-28 10:40:54 +02:00
parent 7778ef9597
commit 311ed87e30

View File

@@ -140,12 +140,8 @@ def verifyOutline(outlinePseudoTree, datasetFileName):
return return
for counter, (expectedItem, foundItem) in enumerate(zip(expected, outlinePseudoTree)): for counter, (expectedItem, foundItem) in enumerate(zip(expected, outlinePseudoTree)):
if expectedItem != foundItem: if expectedItem != foundItem:
if JIRA.isBugStillOpen(21335) and expectedItem[:-1] == foundItem[:-1]: test.fail("Mismatch in element number %d for '%s'" % (counter + 1, fileName),
test.xfail("Mismatch in element number %d for '%s'" % (counter + 1, fileName), "%s != %s" % (str(expectedItem), str(foundItem)))
"%s != %s" % (str(expectedItem), str(foundItem)))
else:
test.fail("Mismatch in element number %d for '%s'" % (counter + 1, fileName),
"%s != %s" % (str(expectedItem), str(foundItem)))
return return
test.passes("All nodes (%d) inside outline match expected nodes for '%s'." test.passes("All nodes (%d) inside outline match expected nodes for '%s'."
% (len(expected), fileName)) % (len(expected), fileName))