Debian Codegraph @

contrib/depends/patches/libxkbcommon/no-test-x11.patch

raw
1 diff --git a/meson.build b/meson.build
2 index 8714ce4e..35691155 100644
3 --- a/meson.build
4 +++ b/meson.build
5 @@ -893,24 +893,6 @@ test(
6 dependencies: test_dep),
7 env: test_env,
8 )
9 -if get_option('enable-x11')
10 - has_xvfb = find_program('Xvfb', required: false)
11 - if not has_xvfb.found()
12 - warning('Xvfb program not found, but is required to run X11 tests.')
13 - endif
14 - test(
15 - 'x11',
16 - executable('test-x11', 'test/x11.c', dependencies: x11_xvfb_test_dep),
17 - env: test_env,
18 - is_parallel : false,
19 - )
20 - test(
21 - 'x11comp',
22 - executable('test-x11comp', 'test/x11comp.c', dependencies: x11_xvfb_test_dep),
23 - env: test_env,
24 - is_parallel : false,
25 - )
26 -endif
27 if get_option('enable-xkbregistry')
28 test(
29 'registry',
30 @@ -1035,13 +1017,6 @@ benchmark(
31 executable('bench-atom', 'bench/atom.c', dependencies: test_dep),
32 env: bench_env,
33 )
34 -if get_option('enable-x11')
35 - benchmark(
36 - 'x11',
37 - executable('bench-x11', 'bench/x11.c', dependencies: x11_test_dep),
38 - env: bench_env,
39 - )
40 -endif
41
42
43 # Documentation.