File: [cvs.NetBSD.org] / pkgsrc / devel / glib2 / patches / patch-glib_tests_meson.build (download)
Revision 1.1, Thu Nov 14 12:26:26 2019 UTC (4 years, 5 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Add a missing patch
|
$NetBSD: patch-glib_tests_meson.build,v 1.1 2019/11/14 12:26:26 ryoon Exp $
* Fix gtester is not defined error during configure.
--- glib/tests/meson.build.orig 2019-10-21 17:18:40.000000000 +0000
+++ glib/tests/meson.build
@@ -221,20 +221,3 @@ executable('testing-helper', 'testing-he
install_dir: installed_tests_execdir,
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