From 0e299cbd0b55b9815942f289eee7cd972584cae4 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Tue, 24 May 2016 16:57:23 +0200 Subject: Squish: Expect failures in tst_memberoperator on Windows Change-Id: I582109d104816545c804340c7e0d4dbe343d55f3 Task-number: QTCREATORBUG-16336 Reviewed-by: Christian Stenger --- tests/system/suite_editors/tst_memberoperator/test.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/system/suite_editors/tst_memberoperator/test.py b/tests/system/suite_editors/tst_memberoperator/test.py index 4d16b568b0..b02271ac3e 100644 --- a/tests/system/suite_editors/tst_memberoperator/test.py +++ b/tests/system/suite_editors/tst_memberoperator/test.py @@ -49,7 +49,11 @@ def main(): waitFor("object.exists(':popupFrame_TextEditor::GenericProposalWidget')", 1500) found = str(lineUnderCursor(cppwindow)).strip() exp = testData.field(record, "expected") - test.compare(found, exp) + if (useClang and exp.endswith("->") and JIRA.isBugStillOpen(16336) + and platform.system() in ('Windows', 'Microsoft')): + test.xcompare(found, exp) + else: + test.compare(found, exp) invokeMenuItem("File", 'Revert "main.cpp" to Saved') clickButton(waitForObject(":Revert to Saved.Proceed_QPushButton")) snooze(1) -- cgit v1.2.3