aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fuzzy-test
Commit message (Collapse)AuthorAgeFilesLines
* qt6: fix -Wformat warningsIvan Komissarov2021-02-161-2/+2
| | | | | Change-Id: Ia4107e6afdd94df06b4957317881768f4259c9d2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Bump c++ version to the 17th standardIvan Komissarov2020-08-211-1/+1
| | | | | | | We can do that now as QtC moved to c++17 in master Change-Id: I91d7fc425f1b288f341ee3025fec61a53e98c8d9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Initial CMake portIvan Komissarov2020-08-171-0/+12
| | | | | | | | | | | | | | | | | | | This change allows to build Qbs using CMake build tool Tested platforms - Linux (gcc) - macOS (clang) - Windows (msvc2017) Missing features (compared to Qbs build) - Documentation build - Bundled QtScript support - Static build - .pc file for qbscore - qbs module for qbscore Change-Id: I09b5dadd6723d5a47e5ef2a9a38d3300488718f2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix Qt 5.15 deprecation warningsChristian Kandeler2020-06-161-1/+6
| | | | | Change-Id: I1d6968de823c43e42ca53eb68972ba5e69dc29ed Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Apply 'modernize-pass-by-value' fix-itIvan Komissarov2020-01-282-2/+2
| | | | | | | | | Also, treat this warning as error This amends 936eee744db9b2fd1b9b66d168d80a113002aad2 Change-Id: I372c3b11baa08375d581052282f4546b2ba2e057 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Apply 'modernize-use-equals-default' fix-itIvan Komissarov2019-11-253-5/+3
| | | | | Change-Id: Iabdc777d2e8492d9903109365b0f3b1a5441ca11 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix compiler warnings on macOSIvan Komissarov2019-11-201-1/+2
| | | | | | Change-Id: I865357bf74bdaf88eabae5681c70a6e5032e274d Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Apply fix-its for the missing override keywordIvan Komissarov2019-05-031-2/+2
| | | | | | | | Missing override is a warning in clang Change-Id: I90b899df37e690aebb942bffc65db54d9aa4050f Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix uninitialized variablesIvan Komissarov2019-05-022-5/+5
| | | | | | | | | This fixes most of clang analyzer warnings about uninitialized variables in ctors Change-Id: I879c785594307ed3fe7140588338a6b2a1e4db65 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Use QStringLiteral more where it is possibleDenis Shienkov2019-02-252-19/+19
| | | | | | Change-Id: I7419cc3fbc1e8776de3943852dcedab4c95d1c32 Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Remove support for in-build-dir-execution of the qbs qbs buildJoerg Bornemann2018-07-121-1/+6
| | | | | | | | | | This is not supported. People must use the content of the installation directory instead. This reduces complexity of qbs' own project files. Change-Id: I39f8bb4d5252b0631a64b3aac01f83b09b28ae0f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Build qbs with C++14Christian Kandeler2018-02-151-1/+1
| | | | | | | | | This will enable us to simplify some of our templates. Qt Creator requires C++14 as well, so we won't break it. Change-Id: I577347ef12c53ff2ec59e88344ff181b27a0d50c Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Replace more loops with range-forJake Petroules2017-11-271-2/+2
| | | | | | | | ...or raw iterators for reverse iterations. Change-Id: I62a110ceeefaf70aaa41f6fb09d811f0eac05657 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Replace 'foreach' macro with range-based 'for'Denis Shienkov2017-11-241-2/+3
| | | | | Change-Id: I34479bc9673d0202363aeba5c7919efc8f0d7287 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Use nullptr to initialize the pointersDenis Shienkov2017-11-201-1/+1
| | | | | | Change-Id: I59d743f585410cb5c00d36a7b6f9a3e9d696d19e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* STL compatibility: use empty() instead of isEmpty()Jake Petroules2017-11-161-3/+3
| | | | | | | This is a simple find and replace with manual sanity check. Change-Id: Iab6d46dcc3be246d1650aae2b1730f933b717be8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* STL compatibility: use size() instead of count()Jake Petroules2017-11-152-4/+4
| | | | | | | This is a simple find and replace with manual sanity check. Change-Id: Ia733befe7885dc3c643d5c84e151312bfd86a3c6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Replace QQueue with std::queueJake Petroules2017-05-102-8/+9
| | | | | Change-Id: I97025241845a40128f94046d2715b166ddda392c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Change style of #includes of Qt headersJake Petroules2017-01-045-10/+10
| | | | | | | | | | | | | | | | By using q<lowercase>.h headers, we become more bootstrap-friendly, as no full syncqt is required any more. In the same go, prefix all includes with the module name. This helps grep-based analysis of which parts of Qt are used and where. It's also consistent with Qt's public headers (where syncqt enforces the style). Testdata and examples are excluded from the change, as they are not relevant for bootstrapping. Change-Id: I9539b1d795e87fca6e5fc6c91acbb775b79208d9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Do not use fromLocal8Bit() for string literalsKai Koehne2016-11-082-16/+16
| | | | | | | | | | The current locale encoding does have nothing to do with string literals. Use fromLatin1(), which tends to be the fastest for ASCII. Change-Id: I9f1ff603f26812a63e5b23a413ba240c47d5ac23 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update license headersIikka Eklund2016-08-293-48/+42
| | | | | | | | | | Patch-set 2 includes *.cpp *.c Every source file needs to have up-to-date license headers in order to pass ci. Change-Id: Ie6e493097af6f7dd6a8adff170eb856f496e689e Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Update license headersIikka Eklund2016-08-292-32/+28
| | | | | | | | | | Patch-set 1 includes *.h Every source file needs to have up-to-date license headers in order to pass ci. Change-Id: Ib6cf3ac47dfba6dff262fded44bc952aef3bda8b Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Fix self hosted build with Qt 5.7, where C++11 is now requiredJake Petroules2016-07-051-0/+1
| | | | | Change-Id: I8c4f9617cb671c2ce3d7f0a7d175458aee99758a Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Replace 'the Qt build suite' with 'Qbs' in copyright notices.Jake Petroules2016-06-065-5/+5
| | | | | | Change-Id: I885d94bb14b325dc36767a840ebdb0be1fb59dd2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* fuzzy tester: Cache information about build results.Christian Kandeler2015-05-072-12/+60
| | | | | | | | | | | | | We remember the information whether a clean build succeeded. This enables us to skip potentially expensive verification builds as well as finding a usable start commit. Note: This can lead to false positives or negatives if qbs or the build environment have changed in a way that leads to a formerly succeeding build failing or vice versa; however, this should be rare and easily spottable. Change-Id: I690f7a01fc1174fa50214775b0faa3b550168963 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* fuzzy tester: Add option to log debugging information.Christian Kandeler2015-05-065-23/+80
| | | | | | | | If a problem is not reproducible, the recorded debugging output can help to find out how we got into the problematic state. Change-Id: Ib067069dcb47038c1236649ddcca060c5c59a90e Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* remove Qt4 work-aroundsJoerg Bornemann2015-03-191-1/+1
| | | | | | | QStringList::join supports QLatin1Char arguments in Qt5. Change-Id: Ic840473f0cb54c8c2a781bec3356c3c3c8e113af Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* fuzzy-tester: Add ability to forward job count to qbs.Christian Kandeler2015-02-175-13/+43
| | | | | Change-Id: I45f275b448bd5660488faeed524c16085d2fa303 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* fuzzy tester: Allow to run for a given time span.Christian Kandeler2015-02-175-14/+70
| | | | | | | This is helpful e.g. for letting the tool run overnight. Change-Id: I03fc9942dff35b6f9c4f966ab6795fede49f0ee6 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Merge branch '1.3' into 'master'Christian Kandeler2015-01-285-30/+30
|\ | | | | | | | | | | | | | | | | Conflicts: doc/reference/jsextensions/jsextensions-general.qdoc src/lib/corelib/language/evaluatorscriptclass.cpp src/lib/corelib/language/evaluatorscriptclass.h Change-Id: Ic9b77b56e8fc8bf93e0a553930757de8c93fed22
| * Update LicenseEike Ziller2015-01-265-30/+30
| | | | | | | | | | Change-Id: I092fca9f950de1ba38826c33b155f86feae2770b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* | remove more Qt4 legacy from project filesJoerg Bornemann2014-10-311-1/+0
|/ | | | | | | This amends commit 7c82e9f3. Change-Id: Ie01db1f28856fa16edee67aaf033c7150ecb197c Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* complete license header updateJoerg Bornemann2014-10-165-35/+40
| | | | | Change-Id: I2c7ea3242e5ce244e8feee01c0f8a0b0651fa0d4 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Add and make use of convenience item QtGuiApplication.Christian Kandeler2014-07-141-2/+1
| | | | | | | | | | Using this item, building a Qt gui app against a static Qt will work out of the box. Also add the less useful QtApplication for completeness. Change-Id: Idca1dbd3085659ebaf563f7df89f73b9daaf7001 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fuzzy tester: Print error message also for clean build failures.Christian Kandeler2014-04-222-6/+8
| | | | | | | This will help us find false positives (e.g. "disk full"). Change-Id: I5db9d333809f7067dc5dff81544e9e5f0206ee8c Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fuzzy test: Use "rev-parse" instead of "describe".Christian Kandeler2014-02-281-1/+1
| | | | | | | This is what we really want. Change-Id: I3a95364390d788e3c3c2a3ceb3603b78ffa2f14c Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Make fuzzy test more thorough.Christian Kandeler2014-02-282-10/+34
| | | | | | | | "Successful" incremental builds can also be an error, if a clean build fails for the same project. Change-Id: I9f52d840fbda53a906c039e1ee0db2c656db6f8e Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Improvements to fuzzy test.Christian Kandeler2014-02-271-1/+9
| | | | | | | | | - When checking out a commit, also update the submodules. - Check for non-zero exit codes from git. - Print information when a faulty commit was detected. Change-Id: I8171a81899f97fbdaf76ffd49af42a2a46e1a62a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Unbundle qbs_fuzzy-test on OS X.Jake Petroules2014-02-262-0/+2
| | | | | Change-Id: Id7b62904e0e6e6f3cafbd553b9d8499c98c94530 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Rename the fuzzy tester executable.Christian Kandeler2014-02-212-2/+2
| | | | | | | | Having the "qbs-" prefix makes it a qbs sub-command, which we don't want. Change-Id: I20a907cd32ab4f12d26a60c64fa996eabc3403b4 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fuzzy test: Do "resolve" and "build" separately for incremental builds.Christian Kandeler2014-02-212-6/+12
| | | | | | | This should increase the likelihood of errors. Change-Id: I9a7b0fded12db05bc55e2f557d220a2614b73d62 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fuzzy test: More verbose output, wait longer for git.Christian Kandeler2014-02-171-1/+5
| | | | | Change-Id: I19baf426bdf81b80d9a5f52adaf7b815d242c65a Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Introduce tool for fuzzy testing.Christian Kandeler2014-02-117-0/+476
Incremental builds are the likeliest source of problems, as well as the one that is the hardest to reproduce. This new tool turns a given project into a quasi-autotest by checking out random commits and doing incremental builds on them. In case of a build error that is not reproducible with a clean build, it aborts and reports the offending sequence of commits. Any qbs project that comes in a git repository is supported. Change-Id: I9f6f9172ce03140341ed25859092a8ed32d4a17d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>