[gtk/master.win32: 34/36] testsuite/gsk: Only run Broadway tests if enabled
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/master.win32: 34/36] testsuite/gsk: Only run Broadway tests if enabled
- Date: Wed, 5 Aug 2020 01:42:05 +0000 (UTC)
commit 46d64b9e94e173b199c5c981a377b5c58b82e30e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Aug 3 16:23:30 2020 +0800
testsuite/gsk: Only run Broadway tests if enabled
We may not have enabled building the broadway renderer for our build, so don't
run the broadway renderer tests unless it is enabled.
testsuite/gsk/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index 87cac26974..01e6b38a74 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -92,7 +92,8 @@ renderers = [
foreach renderer : renderers
foreach test : compare_render_tests
- if (renderer[1] == '' or not test.contains(renderer[1]))
+ if ((renderer[1] == '' or not test.contains(renderer[1])) and
+ (renderer[0] != 'broadway' or broadway_enabled))
test(renderer[0] + ' ' + test, compare_render,
args: ['--output', join_paths(meson.current_build_dir(), 'compare', renderer[0]),
join_paths(meson.current_source_dir(), 'compare', test + '.node'),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]