1From 473b4288d8f4e891d0d21f7b60ef8053c5cd7af9 Mon Sep 17 00:00:00 2001 2From: Adam Duskett <aduskett@gmail.com> 3Date: Mon, 3 Feb 2020 10:07:15 -0800 4Subject: [PATCH] disable tests 5 6If introspection data on the host is not built, meson throws the error: 7"Unknown variable "typelibs". Because tests are not required, removing 8the subdir tests alltogether fixes this issue. 9 10Signed-off-by: Adam Duskett <aduskett@gmail.com> 11--- 12 meson.build | 6 ------ 13 1 file changed, 6 deletions(-) 14 15diff --git a/meson.build b/meson.build 16index eed4d6b..5058664 100644 17--- a/meson.build 18+++ b/meson.build 19@@ -222,12 +222,6 @@ if get_option('build_introspection_data') == true 20 endif 21 subdir('docs') 22 23-# The tests will also run, which is not possible if they 24-# were built for a different architecture. 25-if not meson.is_cross_build() 26- subdir('tests') 27-endif 28- 29 install_data('Makefile.introspection', install_dir: join_paths(get_option('datadir'), 'gobject-introspection-1.0')) 30 install_data('m4/introspection.m4', install_dir: join_paths(get_option('datadir'), 'aclocal')) 31 32-- 332.24.1 34 35