$NetBSD: patch-glib_tests_meson.build,v 1.2 2021/03/31 10:11:23 wiz Exp $ * Fix gtester is not defined error during configure. --- glib/tests/meson.build.orig 2021-03-18 13:28:31.953625200 +0000 +++ glib/tests/meson.build @@ -269,21 +269,4 @@ executable('testing-helper', 'testing-he install: installed_tests_enabled, ) -# some testing of gtester functionality -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'], - ) - endif -endif - subdir('path-test-subdir')