1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
$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')
|