diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-08-17 09:43:33 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-08-18 02:39:15 +0200 |
commit | ce6cbf86a5e4e23404a6102d18bb7433a64531d1 (patch) | |
tree | a15278967196dd61d4b4b9278f2dfdd1396c5ed7 /bin | |
parent | 2bc4917a9b9f961e74f2953a82b1f3a01212f457 (diff) |
screenshots: add new global make target
Up to now the screenshot creation was added/dependent of
target slowcheck. Since quite some modules have added screenshot
creations now, I added an own target 'screenshot' to allow to keep
current slowcheck and screenshot creation separated
Change-Id: I80a49a0db607edf8e0405672d570f624d29912e7
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gbuild-to-ide | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide index a4b837b453a4..049292016ffb 100755 --- a/bin/gbuild-to-ide +++ b/bin/gbuild-to-ide @@ -561,16 +561,16 @@ isExecutable=true result = KdevelopIntegrationGenerator.launchestemplate % {'launches': launches} result += self.generate_launch(0, 'Local tests -- quick tests (unitcheck)', self.gbuildparser.makecmd, 'unitcheck', moduledir) - result += self.generate_launch(1, 'Local tests -- slow tests (unitcheck, slowcheck)', self.gbuildparser.makecmd, - 'unitcheck slowcheck', moduledir) - result += self.generate_launch(2, 'Local tests -- integration tests (unitcheck, slowcheck, subsequentcheck)', - self.gbuildparser.makecmd, 'unitcheck slowcheck subsequentcheck', moduledir) + result += self.generate_launch(1, 'Local tests -- slow tests (unitcheck, slowcheck, screenshot)', self.gbuildparser.makecmd, + 'unitcheck slowcheck screenshot', moduledir) + result += self.generate_launch(2, 'Local tests -- integration tests (unitcheck, slowcheck, screenshot, subsequentcheck)', + self.gbuildparser.makecmd, 'unitcheck slowcheck screenshot subsequentcheck', moduledir) result += self.generate_launch(3, 'Global tests -- quick tests (unitcheck)', self.gbuildparser.makecmd, 'unitcheck', self.gbuildparser.builddir) - result += self.generate_launch(4, 'Global tests -- slow tests (unitcheck, slowcheck)', - self.gbuildparser.makecmd, 'unitcheck slowcheck', self.gbuildparser.builddir) - result += self.generate_launch(5, 'Global tests -- integration tests (unitcheck, slowcheck, subsequentcheck)', - self.gbuildparser.makecmd, 'unitcheck slowcheck subsequentcheck', + result += self.generate_launch(4, 'Global tests -- slow tests (unitcheck, slowcheck, screenshot)', + self.gbuildparser.makecmd, 'unitcheck slowcheck screenshot', self.gbuildparser.builddir) + result += self.generate_launch(5, 'Global tests -- integration tests (unitcheck, slowcheck, screenshot, subsequentcheck)', + self.gbuildparser.makecmd, 'unitcheck slowcheck screenshot subsequentcheck', self.gbuildparser.builddir) result += self.generate_launch(6, 'Run LibreOffice', os.path.join(self.gbuildparser.instdir, 'program/soffice.bin'), '', @@ -826,9 +826,9 @@ class VisualStudioIntegrationGenerator(IdeIntegrationGenerator): 'rebuild': self.module_make_command('clean unitcheck'), }, 'Integration tests': { - 'build': self.module_make_command('unitcheck slowcheck subsequentcheck'), + 'build': self.module_make_command('unitcheck slowcheck screenshot subsequentcheck'), 'clean': self.module_make_command('clean'), - 'rebuild': self.module_make_command('clean unitcheck slowcheck subsequentcheck') + 'rebuild': self.module_make_command('clean unitcheck slowcheck screenshot subsequentcheck') } } @@ -1102,14 +1102,14 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): xml += QtCreatorIntegrationGenerator.build_configs_template % { 'index': '2', 'base_folder': module_folder, - 'arg': "unitcheck slowcheck", - 'name': "3-Local tests -- slow tests (unitcheck, slowcheck)", + 'arg': "unitcheck slowcheck screenshot", + 'name': "3-Local tests -- slow tests (unitcheck, slowcheck, screenshot)", } xml += QtCreatorIntegrationGenerator.build_configs_template % { 'index': '3', 'base_folder': module_folder, - 'arg': "unitcheck slowcheck subsequentcheck", - 'name': "4-Local tests -- integration tests (unitcheck, slowcheck, subsequentcheck)", + 'arg': "unitcheck slowcheck screenshot subsequentcheck", + 'name': "4-Local tests -- integration tests (unitcheck, slowcheck, screenshot, subsequentcheck)", } xml += QtCreatorIntegrationGenerator.build_configs_template % { 'index': '4', @@ -1120,14 +1120,14 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): xml += QtCreatorIntegrationGenerator.build_configs_template % { 'index': '5', 'base_folder': self.base_folder, - 'arg': "unitcheck slowcheck", - 'name': "6-Global tests -- slow tests (unitcheck, slowcheck)", + 'arg': "unitcheck slowcheck screenshot", + 'name': "6-Global tests -- slow tests (unitcheck, slowcheck, screenshot)", } xml += QtCreatorIntegrationGenerator.build_configs_template % { 'index': '6', 'base_folder': self.base_folder, - 'arg': "unitcheck slowcheck subsequentcheck", - 'name': "7-Global tests -- integration tests (unitcheck, slowcheck, subsequentcheck)", + 'arg': "unitcheck slowcheck screenshot subsequentcheck", + 'name': "7-Global tests -- integration tests (unitcheck, slowcheck, screenshot, subsequentcheck)", } xml += QtCreatorIntegrationGenerator.build_configs_template % { 'index': '7', @@ -1167,14 +1167,14 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): xml += QtCreatorIntegrationGenerator.build_configs_template % { 'index': '2', 'base_folder': self.base_folder, - 'arg': "unitcheck slowcheck", - 'name': "03-Global tests -- slow tests (unitcheck, slowcheck)", + 'arg': "unitcheck slowcheck screenshot", + 'name': "03-Global tests -- slow tests (unitcheck, slowcheck, screenshot)", } xml += QtCreatorIntegrationGenerator.build_configs_template % { 'index': '3', 'base_folder': self.base_folder, - 'arg': "unitcheck slowcheck subsequentcheck", - 'name': "04-Global tests -- integration tests (unitcheck, slowcheck, subsequentcheck)", + 'arg': "unitcheck slowcheck screenshot subsequentcheck", + 'name': "04-Global tests -- integration tests (unitcheck, slowcheck, screenshot, subsequentcheck)", } xml += QtCreatorIntegrationGenerator.build_configs_template % { 'index': '4', |