summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qscriptcontext/tst_qscriptcontext.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
index c9a553a..48403aa 100644
--- a/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
+++ b/tests/auto/qscriptcontext/tst_qscriptcontext.cpp
@@ -301,12 +301,11 @@ void tst_QScriptContext::thisObject()
void tst_QScriptContext::returnValue()
{
+ QSKIP("Internal function not implemented in JSC-based back-end", SkipAll);
QScriptEngine eng;
eng.evaluate("123");
- QEXPECT_FAIL("", "", Continue);
QCOMPARE(eng.currentContext()->returnValue().toNumber(), 123.0);
eng.evaluate("\"ciao\"");
- QEXPECT_FAIL("", "", Continue);
QCOMPARE(eng.currentContext()->returnValue().toString(), QString("ciao"));
}