$NetBSD: patch-glib_tests_meson.build,v 1.4 2023/06/26 19:25:56 adam Exp $ Fix gtester is not defined error during configure. --- glib/tests/meson.build.orig 2023-05-23 10:55:59.000000000 +0000 +++ glib/tests/meson.build @@ -475,19 +475,4 @@ 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