From 55f2fe374f0314e87e1ca5618bab6fac94430c78 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 5 Apr 2016 18:24:44 +0200 Subject: purge symbian vestiges Change-Id: I3e66ce25ea21aa846b44b6f99b8afbe0959a6526 Reviewed-by: Lars Knoll --- tests/auto/qscriptengine/tst_qscriptengine.cpp | 6 ------ tests/auto/qscriptjstestsuite/expect_fail.txt | 9 --------- tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp | 4 ---- tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp | 5 ----- 4 files changed, 24 deletions(-) (limited to 'tests') diff --git a/tests/auto/qscriptengine/tst_qscriptengine.cpp b/tests/auto/qscriptengine/tst_qscriptengine.cpp index dde048b..19a6f7e 100644 --- a/tests/auto/qscriptengine/tst_qscriptengine.cpp +++ b/tests/auto/qscriptengine/tst_qscriptengine.cpp @@ -51,12 +51,6 @@ Q_DECLARE_METATYPE(QList) Q_DECLARE_METATYPE(QObjectList) Q_DECLARE_METATYPE(QScriptProgram) -#if defined(Q_OS_SYMBIAN) -# define STRINGIFY(x) #x -# define TOSTRING(x) STRINGIFY(x) -# define SRCDIR "C:/Private/" TOSTRING(SYMBIAN_SRCDIR_UID) -#endif - class tst_QScriptEngine : public QObject { Q_OBJECT diff --git a/tests/auto/qscriptjstestsuite/expect_fail.txt b/tests/auto/qscriptjstestsuite/expect_fail.txt index b15542e..6fedd4a 100644 --- a/tests/auto/qscriptjstestsuite/expect_fail.txt +++ b/tests/auto/qscriptjstestsuite/expect_fail.txt @@ -197,12 +197,3 @@ ecma/Math/15.8.2.6.js | Infinity/Math.ceil(-0.9) ecma/Math/15.8.2.9.js | Infinity/Math.floor(-0) ecma/TypeConversion/9.3.1-3.js | var z = 0; print(1/-z) ecma/TypeConversion/9.3.1-3.js | 1/-1e-2000 - -[Q_OS_SYMBIAN] -ecma/Math/15.8.2.13.js | Math.pow(-1, 0.5) -ecma/Math/15.8.2.13.js | Math.pow(-1, -0.5) -ecma_3/Operators/order-01.js | operator evaluation order: 11.5.1 * -ecma_3/Operators/order-01.js | operator evaluation order: 11.5.2 / -ecma_3/Operators/order-01.js | operator evaluation order: 11.6.2 - -ecma_3/Operators/order-01.js | operator evaluation order: 11.13.2 *= -ecma_3/Operators/order-01.js | operator evaluation order: 11.13.2 /= diff --git a/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp b/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp index 13668c6..3ce2397 100644 --- a/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp +++ b/tests/auto/qscriptjstestsuite/tst_qscriptjstestsuite.cpp @@ -37,10 +37,6 @@ #include -#if defined(Q_OS_SYMBIAN) -# define SRCDIR "." -#endif - struct TestRecord { TestRecord() : lineNumber(-1) { } diff --git a/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp b/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp index 8149d7e..8fa7e04 100644 --- a/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp +++ b/tests/benchmarks/script/qscriptengine/tst_qscriptengine.cpp @@ -478,13 +478,8 @@ void tst_QScriptEngine::nativeCall() newEngine(); m_engine->globalObject().setProperty("fun", m_engine->newFunction(native_function)); QBENCHMARK{ -#if !defined(Q_OS_SYMBIAN) m_engine->evaluate("var w = 0; for (i = 0; i < 100000; ++i) {\n" " w += fun() + fun(); w -= fun(); fun(); w -= fun(); }"); -#else - m_engine->evaluate("var w = 0; for (i = 0; i < 25000; ++i) {\n" - " w += fun() + fun(); w -= fun(); fun(); w -= fun(); }"); -#endif } } -- cgit v1.2.1