Commit Graph

14 Commits

Author SHA1 Message Date
Christian Stenger
d363c8101b Tests: Allow removal of objects on the fly
Add another option to allow deletion of unused objects
on the fly.
This option should be used with care. It is recommended
to run without -d (or --delete) beforehand and check the
results.
Anyhow, when deletion is wanted it processes as usual,
renames the original objects.map to objects.map~ and
recreates the objects.map without the objects that
could be deleted.

Change-Id: I3898e8b9998e33461140bf4c75887a32d106f22c
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2019-01-30 07:30:40 +00:00
Robert Loehning
dd16fca686 Tests: Swap order of findUnusedObjects' output to ease sorting
Change-Id: I477ae2f6d5c57de158d1408330a76cf4e4ebdae9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-01-16 10:26:40 +00:00
Christian Stenger
6798b00470 Tests: Allow shared folders in findUnusedObjects
Depending on the directory layout chosen for arranging
the squish tests the findUnusedObjects script might not
work as expected.
This patch enhances the script by adding another option
that lets you specify locations of shared folders
beside the default assumed (beside/below the location of
the objects.map)

Change-Id: I52d6bef0fecbbb2959a82ee662a7c7beaf01e00d
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-01-14 06:36:40 +00:00
Tobias Hunger
954569387c Update License according to agreement with Free Qt Foundation
* Update license information in tests directory

Change-Id: I311441dd37d053ca3175e44b284258e232ee93e0
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2016-01-19 16:01:06 +00:00
Robert Loehning
0352e54253 Fix copyright headers in Python files
Change-Id: Id2c60eae52d315b8b133512d978598d1bc187b43
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-02-13 16:52:03 +00:00
Eike Ziller
3c85058694 Update License
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2015-01-16 12:37:56 +01:00
Eike Ziller
8295b503be License update
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
2014-10-09 11:41:44 +02:00
Robert Loehning
746c5d8863 Incremented year in copyright info
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-01-08 08:29:47 +01:00
Christian Stenger
dd86590b53 Squish: Update findUnusedObjects
Change-Id: I245b6d33489dbfe9c3d4038e9fea48643f714473
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-07-19 15:33:49 +02:00
Christian Stenger
ee9ec5a4d0 Squish: Correct shebang locations
Change-Id: I5af2abaff10dc4095d6cf35350068ca08742b6ab
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-05-16 09:24:07 +02:00
Robert Loehning
180b48003f Squish: Added copyright headers
Change-Id: Icdf2f31f73e8b6eed75954ad31d12d48e00109b5
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-05-15 13:35:01 +02:00
Christian Stenger
f3056f04b2 Squish: Fix script for multiline strings
If object names are scattered across multiple lines the
script failed to get the whole object name and failed therefore.
This patch corrects this behavior.

Change-Id: Ia97e2577162b77ae1b72fdd51dda4c74c59abe25
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-04-26 09:10:51 +02:00
Robert Loehning
d4c8f23999 Squish: Added tool to convert objects.map into tsv
Change-Id: Icd86b82d55f0c994c80be04fc0006d577d11d2de
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2012-10-23 17:04:46 +02:00
Christian Stenger
27dd24ce7f Squish: Provide tool for objects.map
This is just a simple helper that works for the current
approach (a single objects.map within the root of Squish
tests).

Change-Id: I27bbc6d100f5196ada0e8c7a9ffe281a53fa0abd
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2012-10-11 09:47:59 +02:00