[gtk] build: Don't use 'continue'
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] build: Don't use 'continue'
- Date: Sun, 31 Mar 2019 05:06:12 +0000 (UTC)
commit fb4ffa468ce0f9648251beb839b9a535c29f8fbe
Author: Timm Bäder <mail baedert org>
Date: Sun Mar 31 06:37:10 2019 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]