libxkbcommon: update patch 'disable_tests.patch'

This commit is contained in:
Leonid Pliushch 2020-11-21 23:45:00 +00:00 committed by Yaksh Bariya
parent fcb90de6a8
commit 9e88e88167
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 25 additions and 18 deletions

View File

@ -1,7 +1,15 @@
diff -uNr libxkbcommon-xkbcommon-1.0.1/meson.build libxkbcommon-xkbcommon-1.0.1.mod/meson.build
--- libxkbcommon-xkbcommon-1.0.1/meson.build 2020-09-11 12:07:49.000000000 +0000
+++ libxkbcommon-xkbcommon-1.0.1.mod/meson.build 2020-09-12 19:40:19.523612699 +0000
@@ -493,224 +493,6 @@
diff -uNr libxkbcommon-xkbcommon-1.0.2/meson.build libxkbcommon-xkbcommon-1.0.2.mod/meson.build
--- libxkbcommon-xkbcommon-1.0.2/meson.build 2020-11-20 19:02:44.000000000 +0000
+++ libxkbcommon-xkbcommon-1.0.2.mod/meson.build 2020-11-21 23:43:42.178341856 +0000
@@ -484,7 +484,6 @@
endif
endif
-
# xkeyboard-config "verifier"
xkct_config = configuration_data()
xkct_config.set('MESON_BUILD_ROOT', meson.build_root())
@@ -493,223 +492,6 @@
output: 'xkeyboard-config-test',
configuration: xkct_config)
@ -27,6 +35,8 @@ diff -uNr libxkbcommon-xkbcommon-1.0.1/meson.build libxkbcommon-xkbcommon-1.0.1.
- 'test/common.c',
- 'test/test.h',
- 'test/evdev-scancodes.h',
- 'bench/bench.c',
- 'bench/bench.h',
- libxkbcommon_sources,
- include_directories: include_directories('src'),
-)
@ -189,38 +199,35 @@ diff -uNr libxkbcommon-xkbcommon-1.0.1/meson.build libxkbcommon-xkbcommon-1.0.1.
-
-
-# Benchmarks.
-libxkbcommon_bench_internal = static_library(
- 'xkbcommon-bench-internal',
- 'bench/bench.c',
- 'bench/bench.h',
- link_with: libxkbcommon_test_internal,
-)
-bench_dep = declare_dependency(
- include_directories: include_directories('src'),
- link_with: libxkbcommon_bench_internal,
-)
-bench_env = environment()
-bench_env.set('top_srcdir', meson.source_root())
-benchmark(
- 'key-proc',
- executable('bench-key-proc', 'bench/key-proc.c', dependencies: bench_dep),
- executable('bench-key-proc', 'bench/key-proc.c', dependencies: test_dep),
- env: bench_env,
-)
-benchmark(
- 'rules',
- executable('bench-rules', 'bench/rules.c', dependencies: bench_dep),
- executable('bench-rules', 'bench/rules.c', dependencies: test_dep),
- env: bench_env,
-)
-benchmark(
- 'rulescomp',
- executable('bench-rulescomp', 'bench/rulescomp.c', dependencies: bench_dep),
- executable('bench-rulescomp', 'bench/rulescomp.c', dependencies: test_dep),
- env: bench_env,
-)
-benchmark(
- 'compose',
- executable('bench-compose', 'bench/compose.c', dependencies: bench_dep),
- executable('bench-compose', 'bench/compose.c', dependencies: test_dep),
- env: bench_env,
-)
-if get_option('enable-x11')
- benchmark(
- 'x11',
- executable('bench-x11', 'bench/x11.c', dependencies: x11_test_dep),
- env: bench_env,
- )
-endif
-
-
# Documentation.