blob: e281717ea1482e4fe56ea235bac864e45249eb0e [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001From 2b8aa1ea4a4d1836164c934b1ab2556a32cb5af7 Mon Sep 17 00:00:00 2001
Andrew Geissler595f6302022-01-24 19:11:47 +00002From: =?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
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060010Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/690]
Andrew Geissler595f6302022-01-24 19:11:47 +000011
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
Andrew Geissler9aee5002022-03-30 16:27:02 +000018index f5b91e0..3110530 100644
Andrew Geissler595f6302022-01-24 19:11:47 +000019--- a/meson.build
20+++ b/meson.build
Andrew Geissler9aee5002022-03-30 16:27:02 +000021@@ -680,7 +680,9 @@ if not get_option('skip_gtk_tests')
Andrew Geissler595f6302022-01-24 19:11:47 +000022 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.