blob: 8777d14f53343442180281b65cc2653b41c3f7e0 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From 6a29818204e647d5fad68ed7ca8cac53d301cae6 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Wed, 27 Oct 2021 20:04:02 +0200
4Subject: [PATCH] meson.build: Do not add dir installed-tests when
5 installed_tests is false
6MIME-Version: 1.0
7Content-Type: text/plain; charset=UTF-8
8Content-Transfer-Encoding: 8bit
9
10Upstream-Status: Submitted[https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/690]
11
12Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
13---
14 meson.build | 4 +++-
15 1 file changed, 3 insertions(+), 1 deletion(-)
16
17diff --git a/meson.build b/meson.build
18index 6878e2e..edbbf79 100644
19--- a/meson.build
20+++ b/meson.build
21@@ -635,7 +635,9 @@ if not get_option('skip_gtk_tests')
22 have_gtk4 = dependency('gtk4', required: false).found()
23 endif
24
25-subdir('installed-tests')
26+if get_option('installed_tests')
27+ subdir('installed-tests')
28+endif
29
30 # Note: The test program in test/ needs to be ported
31 # to Windows before we can build it on Windows.
32--
332.31.1
34