summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix license headersJani Heikkinen2018-01-1538-646/+456
| | | | | | | | | | old header.LGPL21 was used in some src and test files. Replace ones in src/ with correct header.LGPL one and ones in tests/ with correct header.GLP-EXCEPT one. Also add correct license files and remove unnecessary ones Change-Id: Ifc7bb0f25bd9df652ddafe0faceaebd52b495bef Reviewed-by: Liang Qi <liang.qi@qt.io>
* Add binary compatibility files for QtScript for 5.10Milla Pohjanheimo2017-12-142-0/+9311
| | | | | | | Added files to test binary compatibility for 5.10 content. Change-Id: Ief15330d06edaeca49b57fed5ff3eb43478248e4 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Blacklist and skip failing tests for Boot2Qt / 64 bit armv5.9.35.9.3Sami Nurmenniemi2017-10-202-0/+13
| | | | | | Task-number: QTBUG-60263 Change-Id: I1848a0a4d5927b114400bc1646e1a676562cbf46 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
* Fix missing license informationKai Koehne2017-08-292-0/+2
| | | | | | | | | | | Fix warnings of qtattributionscanner: File ./tests/benchmarks/script/sunspider/tests/qt_attribution.json: Missing mandatory property 'License'. File ./tests/benchmarks/script/v8/tests/qt_attribution.json: Missing mandatory property 'License'. Change-Id: I0ab99b62d8abfd333b2208afd611d494f4e3ed5d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Binary compatibility files for qtscript (5.8.0)5.8Milla Pohjanheimo2017-02-062-0/+8639
| | | | | | | Added binary compatibility files for qtscript Change-Id: I6fa8f9537b43ec31fcd3ad962a0873510860870e Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Document third party code in tests/benchmarksKai Koehne2016-12-204-0/+162
| | | | | Change-Id: Iab0d36f7ad8aaced8a24b2959d810a459f244983 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Eradicate Q_FOREACH loops and mark the module as Q_FOREACH-freeMarc Mutz2016-09-236-19/+18
| | | | | | Change-Id: I13a4ce5c268da2b97cbae6612d240398b17186ef Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.15.7.1Liang Qi2016-09-172-0/+8025
|\ | | | | | | Change-Id: I0bfcc2e93ff7a4f7faf85cd0dbef8d5310ad9dcc
| * BC data files for QtScript for Qt 5.6Milla Pohjanheimo2016-09-142-0/+8025
| | | | | | | | | | | | | | Added binary compatibility data files for tst_bic test Change-Id: I53825b45c8e833f460cc4271da36b09dc3aad2d0 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | BC data files added for QtScript (5.7)Milla Pohjanheimo2016-09-152-0/+8589
| | | | | | | | | | | | | | | | Added the generated data files for the binary compatibility tests for QtScript for Qt 5.7. Change-Id: I7ba1e7729b75751cf15e58a6e4be42c3ad1efd8c Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | purge symbian vestigesOswald Buddenhagen2016-04-064-24/+0
|/ | | | | Change-Id: I3e66ce25ea21aa846b44b6f99b8afbe0959a6526 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Purge spurious execute permissionsEdward Welbourne2015-09-2985-0/+0
| | | | | | | JavaScript and README files are not for running. Change-Id: I0a07b58f5ca28e8ef02421c5f9ca04071f15f9c6 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Remove the old headersclean unit testv5.5.0-beta1Thiago Macieira2015-03-182-4/+1
| | | | | | | We have configure -headersclean now Change-Id: Iadc179632e128cb0d6fd72c0b1541371b032e4d4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Add verbose messages date conversion tests of tst_QScriptEngine.v5.5.0-alpha1Friedemann Kleint2015-03-111-4/+31
| | | | | | Task-number: QTBUG-44885 Change-Id: Iac155df75cba2402919f30dce2fa794025f396ce Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5Frederik Gladhorn2015-02-2414-14184/+36555
|\
| * Merge remote-tracking branch 'origin/5.4' into 5.5Frederik Gladhorn2015-02-2014-14184/+36555
| |\ | | | | | | | | | | | | | | | | | | Conflicts: LICENSE.GPLv2 Change-Id: Ibb3f412a7b9d898910f6f3857e90ecbc86677dab
| | * bic: Add/Replace 5.{0.1,2,3,4}.0 bic data for linux-gcc-amd64Sergio Ahumada2015-02-1314-14184/+36555
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the ia32 data since there are no linux x86 machines in the CI system (which makes the data useless from an automated testing point of view) and most people use x64 these days anyway. Change-Id: I2f4f1ebfe48b13ba65aef65c579a7fb3c0d9e969 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* | | Fixed license headersJani Heikkinen2015-02-171-1/+1
|/ / | | | | | | | | Change-Id: I99e62a707fe649403214436a4b9aad8fd82015ee Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.4' into devFrederik Gladhorn2015-02-132-3/+1
|\ \ | |/ | | | | Change-Id: Ic32f5bd17782285305aaa01694f1a78851b882eb
| * Autotest: Use QFINDTESTDATA to find test dataRainer Keller2015-01-192-3/+1
| | | | | | | | | | Change-Id: If33c0f93576b1a3b4ce395156a51df564156deb4 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* | Update copyright headersJani Heikkinen2015-02-1238-281/+273
|/ | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: Iffc10aac2cdaf7c7ceba051ec447f15758c3d8e0 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Skip constantly failing v8 test on WindowsKalle Viironen2014-09-221-0/+1
| | | | | | | | tst_qscriptv8testsuite::smi-negative-zero() fails constantly on Windows 8. QTBUG-41321 Change-Id: I53538f281f725b215fcf6c2f485953341f938946 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
* Blacklist windows 64 bit failures for mingw, tooKai Koehne2014-09-171-0/+4
| | | | | | Task-number: QTBUG-32829 Change-Id: I9e7d9f5b8f5622eaf66fc820566ae94224ba3ae1 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Tests: Blacklist Math.sqrt(-0) for MinGWKai Koehne2014-09-171-0/+2
| | | | | | | | | MinGW's sqrt(-0.) returns NaN instead of 0.0. Upstream bug https://sourceforge.net/p/mingw-w64/bugs/425/ Change-Id: I0fc16c4e53ea5b4b0f799a4a9cee4052f8b8f293 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Update license headers and add new license filesAntti Kokko2014-08-2437-702/+406
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I8b229a6405aefe7951ad0d13d6432d01a4ec8263 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Fix some typosSergio Ahumada2014-03-042-5/+5
| | | | | Change-Id: Idb1e503afa74efe167d68e6fb993f50138546c51 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Mark qscriptjstestsuite as insignificant on Windows.Friedemann Kleint2014-02-051-0/+1
| | | | | | | Task-number: QTBUG-36632 Change-Id: Ida2f4665b25f5343e5abe73b135798ff3546d4d6 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Autotest: Fix unexpected rounding of floating point in date testsThiago Macieira2013-09-281-2/+2
| | | | | | | | | | | | QString("new Date(%0)").arg(1380318500 * 1000.0) expands to "new Date(1.38032e+12)". That's an unnecessary rounding and cuts off interesting bits out of the date. It took me quite a while debugging QScriptEngine trying to find out why the time_t and the JS Date internal numbers were different. Change-Id: Id880f3f11edd0af07e1726eac0242d4a9625c368 Reviewed-by: John Layt <jlayt@kde.org>
* Revert "Skip failing qscriptengine tests on Windows."Thiago Macieira2013-09-281-6/+0
| | | | | | | | | | This reverts commit eff4a0f3fca2e22d4be888cdd7953e1c2ab8c918. That commit disabled a test that had a legitimate failure, caused by a QDateTime regression. Said regression was fixed by qtbase commit 475cbed2446d0e3595e7b8ab71dcbc1ae5f59bcf. Change-Id: I1212dc8414d5a0d8d87bbe2e2a667475fd30414c Reviewed-by: John Layt <jlayt@kde.org>
* Skip failing qscriptengine tests on Windows.v5.2.0-alpha1Mitch Curtis2013-09-241-0/+6
| | | | | | | Task-number: QTBUG-33622 Change-Id: Id719eadf3caa5ed34850ae189652f26eed7a6aea Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Revert "Don't remove milliseconds now that toString() includes them."Mitch Curtis2013-09-241-0/+2
| | | | | | | | | This reverts commit 37ec5822522baaa5b6e316103477d6da7e6d6a9c, as 15da0a5af20fe6771bcb94ef8d46edbd5c8fb64c was also reverted with: https://codereview.qt-project.org/#change,65560 Change-Id: I73bd91e3ac97384db27107051faead7a8cad3d91 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Merge remote-tracking branch 'origin/stable' into devSergio Ahumada2013-09-132-1/+15
|\ | | | | | | Change-Id: Ia10bb1e8b5fa8bb93e76bf2e295df5c10336e582
| * EXPECT_FAIL tests for MSVC 64 bit in qscriptjstestsuite.old/5.1Friedemann Kleint2013-09-122-1/+15
| | | | | | | | | | | | | | | | | | | | Introduce compiler defines for 32/64 bit and adapt the text file. Task-number: QTBUG-32829 Change-Id: I9cdbe5b306264858953e2c710b48300f5690e7db Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-08-271-2/+0
|\ \ | |/ | | | | Change-Id: I98df818f6411c38a6ad8a8efaf6b6a0203dbb958
| * test: Fix XPASS for tst_QScriptJsTestSuite::ecma/Math(Math.pow()Sergio Ahumada2013-08-201-2/+0
| | | | | | | | | | | | | | | | This tests seem to be passing on MinGW 4.8, so removing them from the expect_fail.txt file. Change-Id: I3786d410f1e0937ddc1ceedd8ffd3c07d2619c40 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-07-112-0/+7161
|\ \ | |/ | | | | Change-Id: I4231685b78a7886928efe191aa7f09bb8a50e81e
| * test: Add 5.1.0 bic data for linux-gcc-ia32Sergio Ahumada2013-07-082-0/+7161
| | | | | | | | | | Change-Id: I6d17ba2357350199bb0f0043cc0cc741df6785b4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* | Don't remove milliseconds now that toString() includes them.Mitch Curtis2013-06-051-2/+0
|/ | | | | | | | | | | | | | This patch fixes a test failure introduced by 15da0a5af20fe6771bcb94ef8d46edbd5c8fb64c. tst_QScriptEngine::dateConversionJSQt and tst_QScriptEngine::dateConversionQtJS removed milliseconds from the JS-converted datetime, as QTime::toString() previously did not include them. Now it does, so we can remove this code. Change-Id: Iaddfc050adf8360bee776086b27de001702d221d Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
* List QtScriptTools as a module under test.Stephen Kelly2013-04-081-0/+1
| | | | | | | So that the expected version for it is generated. Change-Id: If414029e6cb420b33e5f36baf31ec5ef37c5c491 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Merge branch 'dev' into stableSergio Ahumada2013-03-191-0/+2
|\ | | | | | | | | | | This starts Qt 5.1 release cycle Change-Id: Ie8a79e8c58e45eab13391377dd33750ff2d98c08
| * Fix CLANG-warnings.Friedemann Kleint2013-03-081-0/+2
| | | | | | | | | | | | | | | | | | | | - Unused member variable. - Unused static functions. - Return false for pointer. Change-Id: Ie78332d3754e7f53ed75d6006c11d60c29719c7b Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com> Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* | Test the cmake scripttools module only if widgets is available.Stephen Kelly2013-03-141-2/+11
|/ | | | | | Change-Id: Ia124db1328e9d6b87c9b1b6858103f81e1678355 Reviewed-by: Alexander Neundorf <neundorf@kde.org> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Use qmake for package dependency resolution in cmake tests.Stephen Kelly2013-02-262-2/+2
| | | | | | | This allows us to remove hardcoded depends information. Change-Id: I778e3ca6a5f3f316948c652f4f30f00ebbf900cd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Remove QPointerBase bic check.Stephen Kelly2013-02-132-10/+0
| | | | | | | QPointerBase is not public or exported and it is to be removed Change-Id: I84f8708a06f4c4495a073b3bde02015b263403cf Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* Merge branch 'release' into stableSergio Ahumada2013-01-311-3/+0
|\ | | | | | | Change-Id: If3a1efe3888b872702d75e25d1943ff79d57e9c6
| * Fix QtScript crash on 64bit with JIT.v5.0.1Friedemann Kleint2013-01-281-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During back-trace generation we calculate a code offset towards JIT generated code. Using JITCode::offsetOf() will crash/assert if the offset doesn't fit into 32 bits, because the generated code can only encode relative offsets in 32-bits and not 64-bits. However in this context - backtrace generation - we just want to calculate the offset and are not interested in this architectural limitation, therefore we can just calculate the offset ourselves using the fully sized uintptr_t. Initial-patch-by: Simon.Hausmann@digia.com Task-number: QTCREATORBUG-8629 Task-number: QTBUG-23463 Change-Id: I0efadd5ed20855409122e1fcc9236fdfbc4f62a4 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
* | Doc: Fix module name formatSze Howe Koh2013-01-262-7/+7
| | | | | | | | | | | | | | | | | | | | | | Follow the conventions at http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation QtScript -> Qt Script QtScriptTools -> Qt Script Tools Change-Id: Icf6b2ea3829247475f8902334b615f9a9206cc51 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* | tst_bic: Add linux-gcc-ia32 bic dataSergio Ahumada2013-01-143-1/+7034
| | | | | | | | | | | | | | | | | | | | Adding bic data for the following modules: - QtScript - QtScriptTools Change-Id: Ie16f2aa9f399d3f05facbc9cfa2de2a0797f0962 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* | Remove the Qt 4 BIC data for QtScript.Sergio Ahumada2013-01-1413-102442/+0
| | | | | | | | | | | | | | We will not be testing BIC of Qt5 against Qt4 Change-Id: I649d0a7f9f628211d73b6ce740220e9ce116c52f Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* | Update copyright year in Digia's license headersSergio Ahumada2013-01-1037-37/+37
| | | | | | | | | | | | Change-Id: Ic4a2739c8caf2eac95e4a72d8d38cfb912d5fe2b Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>