aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/tools/tst_tools.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace 'the Qt build suite' with 'Qbs' in copyright notices.Jake Petroules2016-06-061-1/+1
| | | | | | Change-Id: I885d94bb14b325dc36767a840ebdb0be1fb59dd2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Settings: Fix bogus warnings.Christian Kandeler2015-10-191-6/+21
| | | | | | | | These occurred during settings migration when no previous settings existed at all. Change-Id: I564c19bf876bc7e9c28f116cabfebdd04f30a07d Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
* Fix fileCaseCheck() autotest.Christian Kandeler2015-08-311-2/+2
| | | | | | | | | It used the (random) working directory to create a temporary file, which is not guaranteed to work. E.g. on one test machine it was on a read- only file system. Change-Id: I186771c921bce4dfbc988097d70e106abfaf308f Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
* Have one instance of qbs settings per qbs version.Christian Kandeler2015-08-241-0/+86
| | | | | | | | | | | | So that one can switch between versions without having to regenerate profiles every time due to possible incompatibilities. Note: We do not try to magically make old settings work with new versions; if incompatible changes have happened, users still need to re- run tools like setup-toolchains or setup-qt once. Task-number: QBS-527 Change-Id: If8d0015e849ad573a0ed79f624bcd60731244e03 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* add a function to retrieve the process name by pidJoerg Bornemann2015-04-271-0/+6
| | | | | | | This will be used by the build graph locker in a subsequent commit. Change-Id: If8cb901c692a21953559ea4f35ea29e25a9b0114 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Prevent automatic casting from char* to QString.Christian Kandeler2015-04-231-0/+3
| | | | | | | | | | Reason 1: Internationalization. Reason 2: Performance issues due to inadvertant QString instantiations in hot code paths. Task-number: QBS-780 Change-Id: I37c740dd828e11c5b0000a0dd472a519d032d71c Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* fix local includesJoerg Bornemann2015-04-201-7/+7
| | | | | | | We oversaw this when moving tst_tools.cpp to the lib directory. Change-Id: Icc2c859659c4ba6f0774e6b30c08734ef6ea7136 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* fix FileInfo::path for files in root directoriesJoerg Bornemann2015-03-091-0/+3
| | | | | | | | | | For files in a root (drive) directory FileInfo::path now correctly returns "/" or "X:/" instead of "" and "X:". Change-Id: Ie456708a0f3e0059bd3bbb97518e9a3c381c23e3 Task-number: QBS-760 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Andrew Knight <qt@panimo.net>
* update license headersJoerg Bornemann2015-03-021-2/+2
| | | | | Change-Id: I36d825db3a5ef32c162c3063aab1e8a1f2696f4f Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Merge branch '1.3' into 'master'Christian Kandeler2015-01-281-6/+6
|\ | | | | | | | | | | | | | | | | 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-261-6/+6
| | | | | | | | | | Change-Id: I092fca9f950de1ba38826c33b155f86feae2770b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* | Do installation at build time.Joerg Bornemann2015-01-081-1/+3
|/ | | | | | | | | | | This is useful for e.g. "packaging products" that work on the contents of installation folders. For this purpose, we also expose the install root as a property in the qbs module. Opt-out is available, and the "install" command still works. Change-Id: I346a8e6d19fc24b38660201b1f6fa510acc6676c Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
* License update.Eike Ziller2014-10-161-7/+8
| | | | | | | Add LGPLv3 option. Change-Id: I8a63ad5e46a2701032b2103f791df4dec5b707e8 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Add the settings directory to the project setup parameters.Christian Kandeler2014-05-261-1/+1
| | | | | | | | | This way, the settings become available for use in the qbs library, which means it can, for instance, expand the build configuration itself instead of putting this burden onto the API callers. Change-Id: I09e6067990ac2b7c2238951f9759fe52dc51b6f9 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Do not let the autotests pollute the profiles namespace.Christian Kandeler2014-05-231-4/+8
| | | | | | | | Introduce and use the new class TemporaryProfile whenever profiles need to be created as part of a test. Change-Id: I3d91f112342b1cb2861cbe9d2c96deac7f762cd4 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Sanitize the project setup API.Christian Kandeler2014-05-231-8/+14
| | | | | | | | | | | Ever since we introduced "overridden values", the setter for the build configuration has been pretty much an empty shell, containing only the build variant and the profile. We now make that explicit, resulting in a less confusing API that does not expect the caller to know how to encode profile and build variant information in a QVariantMap. Change-Id: I60183fc1884a884c9ceba34d7eb460c261be47ca Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Merge remote-tracking branch 'origin/1.1'Joerg Bornemann2014-01-131-53/+28
| | | | Change-Id: I7319a1deea008c9f4df077eaecf3147872fc4a21
* Move Qt profile setup into a dedicated library.Christian Kandeler2014-01-101-0/+178
Otherwise all changes to the implementation will have to be duplicated in IDEs. Change-Id: I61e6d4fa1ee9b724eb5d9de9f233dc915a6c8bc3 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>