aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/ecmascripttests/tst_ecmascripttests.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Enable the ES testsuite on macOSSimon Hausmann2018-07-181-2/+2
| | | | | | | | | 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>
* Fix running the ES test suiteSimon Hausmann2018-07-021-2/+2
| | | | | | | | | When we have one or more failures, make sure that the auto-test fails. This produces a few additional failures but oddly also "fixes" some tests that are marked as expected failure. Change-Id: I0bbbed463b326336ab9caa33f434520c90ed36de Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Use the new test runner for the autotestLars Knoll2018-05-021-33/+15
| | | | | | | It's quite a bit faster than the old test runner. Change-Id: If7e59dd175d740f3f702032f4affeff786be8a32 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* V4: Only start JITting after a minimum of 3 callsErik Verbruggen2017-12-141-2/+23
| | | | | | Change-Id: I748e06041f3085980ce48391ba2d829a9d86a727 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Fix the fix to get test262 runningErik Verbruggen2017-07-041-0/+1
| | | | | Change-Id: I96d4200c452fcb05bf25e7a0f24ebd90eddc509e Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Fix the runner for test262Erik Verbruggen2017-07-041-13/+1
| | | | | Change-Id: Ie292bae849abf1f2d5bd2da3f7cc913dd66a7bef Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Also run the ecmascript testsuite in the interpreterErik Verbruggen2017-06-081-1/+1
| | | | | | Change-Id: Ibc3e67273bf01dccfad132b53aef6e5241883d97 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Minor cleanup: Don't require QtGui for ES6 testsSimon Hausmann2017-03-291-1/+1
| | | | | | | We don't need a QGuiApplication to launch test262.py Change-Id: I3f8e200245a30d88f3c6ff578be414ec76bcfb9c Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
* Run ES5 tests on Linux/x86-64Simon Hausmann2017-03-241-0/+77
This requires including the test suite as a submodule by default and bumping the module to a new sha1 that removes some particularly long paths. Also force the test suite to run under a US locale, as tests like ch15/15.5/15.5.4/15.5.4.7/S15.5.4.7_A1_T11 cannot deal with locale dependent output for date formatting. The test harness now returns a non-zero exit code when a test fails. This is used by the QTestLib wrapper to determine success or failure. The tests with JIT are run, but the tests with the interpreter are omitted at the moment until the last failure is fixed. The tests add about 10-15 minutes extra time to the total time it takes to run tests on Linux in the CI. Change-Id: Id01fd3b41350f9c9a6ce9e43236f51f7f0fb71c8 Reviewed-by: Robin Burchell <robin.burchell@crimson.no>