aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/ecmascripttests/tst_ecmascripttests.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2018-07-18 15:24:06 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2018-07-18 13:31:07 +0000
commit3700a3033b115f1f501e2a99548896dae4338d62 (patch)
treee53f6bfce46a79561ae58f5649f0d77d89b66505 /tests/auto/qml/ecmascripttests/tst_ecmascripttests.cpp
parent23b502ab09871da250acdda9aa582d69e2a59c30 (diff)
Enable the ES testsuite on macOS
After commit 42cc42acae8b4b5d8aa79e0d4f079b4322588ce7 in qtbase, QString::localeAwareCompare should work now on all platforms in accordance with what we need in the ES testsuite. Change-Id: I42dd2ac44e3b14e1cad42cfbe46efb8c401b454b Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'tests/auto/qml/ecmascripttests/tst_ecmascripttests.cpp')
-rw-r--r--tests/auto/qml/ecmascripttests/tst_ecmascripttests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qml/ecmascripttests/tst_ecmascripttests.cpp b/tests/auto/qml/ecmascripttests/tst_ecmascripttests.cpp
index 418dd4dc53..27d2822762 100644
--- a/tests/auto/qml/ecmascripttests/tst_ecmascripttests.cpp
+++ b/tests/auto/qml/ecmascripttests/tst_ecmascripttests.cpp
@@ -43,7 +43,7 @@ private slots:
void tst_EcmaScriptTests::runInterpreted()
{
-#if defined(Q_PROCESSOR_X86_64) && !defined(Q_OS_DARWIN)
+#if defined(Q_PROCESSOR_X86_64)
QDir::setCurrent(QLatin1String(SRCDIR));
Test262Runner runner(QString(), "test262");
runner.setFlags(Test262Runner::ForceBytecode|Test262Runner::WithTestExpectations|Test262Runner::Parallel|Test262Runner::Verbose);
@@ -54,7 +54,7 @@ void tst_EcmaScriptTests::runInterpreted()
void tst_EcmaScriptTests::runJitted()
{
-#if defined(Q_PROCESSOR_X86_64) && !defined(Q_OS_DARWIN)
+#if defined(Q_PROCESSOR_X86_64)
QDir::setCurrent(QLatin1String(SRCDIR));
Test262Runner runner(QString(), "test262");
runner.setFlags(Test262Runner::ForceJIT|Test262Runner::WithTestExpectations|Test262Runner::Parallel|Test262Runner::Verbose);