[gtk/wip/baedert/nodeeditor: 6/8] build: don't use 'continue'
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/nodeeditor: 6/8] build: don't use 'continue'
- Date: Mon, 22 Apr 2019 10:45:48 +0000 (UTC)
commit 6f728522b2a99aa2714730823ed7f79f8c58181b
Author: Timm Bäder <mail baedert org>
Date: Tue Apr 16 06:46:59 2019 +0200
build: don't use 'continue'
ffs
testsuite/gsk/meson.build | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
---
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index 7f581931d1..df863a8fad 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -84,21 +84,20 @@ renderers = [
foreach renderer : renderers
foreach test : compare_render_tests
- if (renderer[1] != '' and test.contains(renderer[1]))
- continue
+ if (renderer[1] == '' or not test.contains(renderer[1]))
+ test(renderer[0] + ' ' + test, compare_render,
+ args: [join_paths(meson.current_source_dir(), 'compare', test + '.node'),
+ join_paths(meson.current_source_dir(), 'compare', test + '.png')],
+ env: [ 'GIO_USE_VOLUME_MONITOR=unix',
+ 'GSETTINGS_BACKEND=memory',
+ 'GTK_CSD=1',
+ 'G_ENABLE_DIAGNOSTIC=0',
+ 'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
+ 'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
+ 'GSK_RENDERER=' + renderer[0]
+ ],
+ suite: [ 'gsk', 'gsk-compare', 'gsk-' + renderer[0], 'gsk-compare-' + renderer[0] ])
endif
- test(renderer[0] + ' ' + test, compare_render,
- args: [join_paths(meson.current_source_dir(), 'compare', test + '.node'),
- join_paths(meson.current_source_dir(), 'compare', test + '.png')],
- env: [ 'GIO_USE_VOLUME_MONITOR=unix',
- 'GSETTINGS_BACKEND=memory',
- 'GTK_CSD=1',
- 'G_ENABLE_DIAGNOSTIC=0',
- 'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()),
- 'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
- 'GSK_RENDERER=' + renderer[0]
- ],
- suite: [ 'gsk', 'gsk-compare', 'gsk-' + renderer[0], 'gsk-compare-' + renderer[0] ])
endforeach
endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]