diff options
author | Robert Loehning <robert.loehning@qt.io> | 2016-05-24 16:57:23 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2016-05-25 15:30:57 +0000 |
commit | 0e299cbd0b55b9815942f289eee7cd972584cae4 (patch) | |
tree | 3770f2ac0a2080c56a5f057c0b5ea4199505a632 | |
parent | 5378b8ceb9407898c6ef0f2131b6bd8bc76fe504 (diff) | |
download | qt-creator-0e299cbd0b55b9815942f289eee7cd972584cae4.tar.gz |
Squish: Expect failures in tst_memberoperator on Windows
Change-Id: I582109d104816545c804340c7e0d4dbe343d55f3
Task-number: QTCREATORBUG-16336
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r-- | tests/system/suite_editors/tst_memberoperator/test.py | 6 |
1 files changed, 5 insertions, 1 deletions
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) |