From fb4ffa468ce0f9648251beb839b9a535c29f8fbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sun, 31 Mar 2019 06:37:10 +0200 Subject: [PATCH] build: Don't use 'continue' It does not exist in meson 0.48 apparently. --- testsuite/reftests/meson.build | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/testsuite/reftests/meson.build b/testsuite/reftests/meson.build index e1a24c5163..45de53c1d3 100644 --- a/testsuite/reftests/meson.build +++ b/testsuite/reftests/meson.build @@ -408,21 +408,20 @@ testdata = [ ] foreach testname : testdata - if not testname.endswith('.ui') or testname.endswith('.ref.ui') - continue + if testname.endswith('.ui') and not testname.endswith('.ref.ui') + test('reftest ' + testname, gtk_reftest, + args: [ '--tap', '-k', '--verbose', join_paths(meson.current_source_dir(), testname) ], + env: [ 'GIO_USE_VOLUME_MONITOR=unix', + 'GSETTINGS_BACKEND=memory', + 'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir), + '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=opengl', + 'REFTEST_MODULE_DIR=@0@'.format(meson.current_build_dir()), + ], + suite: 'reftest') endif - test('reftest ' + testname, gtk_reftest, - args: [ '--tap', '-k', '--verbose', join_paths(meson.current_source_dir(), testname) ], - env: [ 'GIO_USE_VOLUME_MONITOR=unix', - 'GSETTINGS_BACKEND=memory', - 'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir), - '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=opengl', - 'REFTEST_MODULE_DIR=@0@'.format(meson.current_build_dir()), - ], - suite: 'reftest') endforeach