[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 27/29] pc-bios: ensure keymaps dependencies set vnc tests
From: |
Alex Bennée |
Subject: |
[PATCH v3 27/29] pc-bios: ensure keymaps dependencies set vnc tests |
Date: |
Tue, 7 Jan 2025 16:52:05 +0000 |
I was seeing failures on vnc-display-test on FreeBSD:
make vm-build-freebsd V=1 TARGET_LIST=aarch64-softmmu
BUILD_TARGET=check-qtest QEMU_LOCAL=1 DEBUG=1
Leads to:
qemu-system-aarch64: -vnc none: could not read keymap file: 'en-us'
Broken pipe
../src/tests/qtest/libqtest.c:196: kill_qemu() tried to terminate QEMU
process but encountered exit status 1 (expected 0)
which was as far as I could tell because we don't populate the
$BLD/pc-bios/keymaps (although something attempts to symlink
qemu-bundle/usr/local/share/qemu/keymaps/ to that dir).
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
---
pc-bios/keymaps/meson.build | 17 ++++++++---------
tests/qtest/meson.build | 2 +-
2 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/pc-bios/keymaps/meson.build b/pc-bios/keymaps/meson.build
index 0bd8ce0077..a79a09b276 100644
--- a/pc-bios/keymaps/meson.build
+++ b/pc-bios/keymaps/meson.build
@@ -39,19 +39,18 @@ else
native_qemu_keymap = qemu_keymap
endif
+keymap_targets = []
if native_qemu_keymap.found()
- t = []
foreach km, args: keymaps
# generate with qemu-kvm
- t += custom_target(km,
- build_by_default: true,
- output: km,
- command: [native_qemu_keymap, '-f', '@OUTPUT@',
args.split()],
- install: have_system,
- install_dir: qemu_datadir / 'keymaps')
+ keymap_targets += custom_target(km,
+ build_by_default: true,
+ output: km,
+ command: [native_qemu_keymap, '-f',
'@OUTPUT@', args.split()],
+ install: have_system,
+ install_dir: qemu_datadir / 'keymaps')
endforeach
-
- alias_target('update-keymaps', t)
+ alias_target('update-keymaps', keymap_targets)
else
install_data(keymaps.keys(), install_dir: qemu_datadir / 'keymaps')
endif
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
index c5a70021c5..f75c1057a4 100644
--- a/tests/qtest/meson.build
+++ b/tests/qtest/meson.build
@@ -383,7 +383,7 @@ qtests = {
if vnc.found()
gvnc = dependency('gvnc-1.0', method: 'pkg-config', required: false)
if gvnc.found()
- qtests += {'vnc-display-test': [gvnc]}
+ qtests += {'vnc-display-test': [gvnc, keymap_targets]}
qtests_generic += [ 'vnc-display-test' ]
endif
endif
--
2.39.5
- [PATCH v3 10/29] tests/functional: update the riscv32 tuxrun tests, (continued)
- [PATCH v3 10/29] tests/functional: update the riscv32 tuxrun tests, Alex Bennée, 2025/01/07
- [PATCH v3 06/29] tests/functional: update the mips64 tuxrun tests, Alex Bennée, 2025/01/07
- [PATCH v3 09/29] tests/functional: update the ppc64 tuxrun tests, Alex Bennée, 2025/01/07
- [PATCH v3 26/29] tests/vm: allow interactive login as root, Alex Bennée, 2025/01/07
- [PATCH v3 12/29] tests/functional: update the s390x tuxrun tests, Alex Bennée, 2025/01/07
- [PATCH v3 13/29] tests/functional: update the sparc64 tuxrun tests, Alex Bennée, 2025/01/07
- [PATCH v3 11/29] tests/functional: update the riscv64 tuxrun tests, Alex Bennée, 2025/01/07
- [PATCH v3 16/29] tests/qtest: remove clock_steps from virtio tests, Alex Bennée, 2025/01/07
- [PATCH v3 15/29] tests/functional/aarch64: add tests for FEAT_RME, Alex Bennée, 2025/01/07
- [PATCH v3 27/29] pc-bios: ensure keymaps dependencies set vnc tests,
Alex Bennée <=
- [PATCH v3 14/29] tests/functional: update the x86_64 tuxrun tests, Alex Bennée, 2025/01/07
- [PATCH v3 25/29] tests/vm: partially un-tabify help output, Alex Bennée, 2025/01/07
- [PATCH v3 22/29] tests/docker: move riscv64 cross container from sid to trixie, Alex Bennée, 2025/01/07
- [PATCH v3 28/29] dockerfiles: Remove 'MAINTAINER' entry in debian-tricore-cross.docker, Alex Bennée, 2025/01/07
- [PATCH v3 24/29] tests/vm: fix build_path based path, Alex Bennée, 2025/01/07
- [PATCH v3 29/29] MAINTAINERS: Remove myself from reviewers, Alex Bennée, 2025/01/07
- [PATCH v3 21/29] tests/lcitool: bump to latest version of libvirt-ci, Alex Bennée, 2025/01/07
- [PATCH v3 17/29] system/qtest: properly feedback results of clock_[step|set], Alex Bennée, 2025/01/07
- [PATCH v3 23/29] tests/lcitool: remove temp workaround for debian mips64el, Alex Bennée, 2025/01/07
- [PATCH v3 19/29] tests/functional: add zstd support to uncompress utility, Alex Bennée, 2025/01/07