$NetBSD: patch-glib_tests_meson.build,v 1.5 2023/11/02 13:17:27 wiz Exp $ Fix gtester is not defined error during configure. --- glib/tests/meson.build.orig 2023-09-08 13:42:18.000000000 +0000 +++ glib/tests/meson.build @@ -489,21 +489,6 @@ endforeach # some testing of gtester functionality # FIXME: Work around Meson not automatically using exe_wrapper around gtester # https://github.com/mesonbuild/meson/issues/11029 -if not meson.is_cross_build() and host_system != 'windows' - xmllint = find_program('xmllint', required: false) - if xmllint.found() - tmpsample_xml = custom_target('tmpsample.xml', - output : 'tmpsample.xml', - command : [ gtester, '-k', '--quiet', '--i-know-this-is-deprecated', '-o', '@OUTPUT@', - '--test-arg=--gtester-selftest', gtester]) - - test('gtester-xmllint-check', xmllint, - args : ['--noout', tmpsample_xml], - env : test_env, - suite : ['glib', 'core'], - ) - endif -endif if have_bash and have_pkg_config prefix = get_option('prefix')