1From 29221ae42e424c6100b8c313d2b61801430c872d Mon Sep 17 00:00:00 2001 2From: =?UTF-8?q?Andreas=20M=C3=BCller=20installed=5Ftests=20is=20false?= 3 <schnitzeltony@gmail.com> 4Date: Wed, 27 Oct 2021 20:04:02 +0200 5Subject: [PATCH] meson.build: Do not add dir installed-tests when 6MIME-Version: 1.0 7Content-Type: text/plain; charset=UTF-8 8Content-Transfer-Encoding: 8bit 9 10MIME-Version: 1.0 11Content-Type: text/plain; charset=UTF-8 12Content-Transfer-Encoding: 8bit 13 14Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/690] 15 16Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 17--- 18 meson.build | 4 +++- 19 1 file changed, 3 insertions(+), 1 deletion(-) 20 21diff --git a/meson.build b/meson.build 22index 3058e8c..06cf8da 100644 23--- a/meson.build 24+++ b/meson.build 25@@ -688,7 +688,9 @@ endif 26 27 ### Tests and test setups ###################################################### 28 29-subdir('installed-tests') 30+if get_option('installed_tests') 31+ subdir('installed-tests') 32+endif 33 34 # Note: The test program in test/ needs to be ported 35 # to Windows before we can build it on Windows. 36