$NetBSD: patch-glib_tests_meson.build,v 1.3 2022/11/23 10:41:41 adam Exp $ Fix gtester is not defined error during configure. --- glib/tests/meson.build.orig 2022-11-23 08:44:11.000000000 +0000 +++ glib/tests/meson.build @@ -410,21 +410,5 @@ executable('testing-helper', 'testing-he install: installed_tests_enabled, ) -# some testing of gtester functionality -if meson.can_run_host_binaries() 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'], - ) - endif -endif subdir('path-test-subdir')