[gtk/wip/baedert/nodeeditor: 8/11] build: don't use 'continue'



commit acb0b7da56c11080d0e7a608d10c54ab45655f79
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]