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