Mark the eval() test as xfail
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 17 Jun 2013 05:31:41 +0000 (07:31 +0200)
committerLars Knoll <lars.knoll@digia.com>
Mon, 17 Jun 2013 06:01:41 +0000 (08:01 +0200)
eval() works differently in strict mode, and it's nicely covered by
test262

Change-Id: I9bb84753032d5106c94d78afe765680f3d85348d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
tests/auto/qml/qqmlecmascript/tst_qqmlecmascript.cpp

index 08fafa4..172d2b7 100644 (file)
@@ -5744,6 +5744,7 @@ void tst_qqmlecmascript::eval()
     QObject *o = component.create();
     QVERIFY(o != 0);
 
+    QEXPECT_FAIL("", "The eval statement works differently in strict mode", Abort);
     QCOMPARE(o->property("test1").toBool(), true);
     QCOMPARE(o->property("test2").toBool(), true);
     QCOMPARE(o->property("test3").toBool(), true);