From patchwork Wed Jan 8 12:10:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 855706 Delivered-To: patch@linaro.org Received: by 2002:adf:8b05:0:b0:385:e875:8a9e with SMTP id n5csp690287wra; Wed, 8 Jan 2025 04:27:09 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWjhg2QBNZ9boAQYK/umxzoTkdz+5c59kvbvhDaVs82fgtmUaQ59KCauRVoDienYNBuW2m8uQ==@linaro.org X-Google-Smtp-Source: AGHT+IGk9mLJL+lzqKSgNbceDRijVEh4rxb1ZPO95wFnn/kzMtMUr4GSUKjJfYl0R3ZlDtn5WR4O X-Received: by 2002:ac8:5887:0:b0:467:59f6:3e56 with SMTP id d75a77b69052e-46c71087108mr36162771cf.36.1736339229647; Wed, 08 Jan 2025 04:27:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736339229; cv=none; d=google.com; s=arc-20240605; b=hsmK2bwTbFRIcBPvkXRWo/uOtf9Zw9iCyiWJTPEF6Qe/zBCpyvThKkNZrwW0XjVVeE XXPgRubclKTXCag3nrZTNrdCQws3FkDaeuouylnR7zzVS6TYmH+guAqKPQpgHpYSRQpq 4ylKPHI83I9Y12MQmMoFgZpgMo9Dteg9Xxm7AmpyXgkn1OWHWNW1nz7G4hrQbkqAdAji cRAqSKOz7XW/TK9VNvWHbN4jyE8vrQGvryEWMbSr/UxioAvH6jEj3zsxCpmw+QdhzQXz BHCXxJplt2Y0Xi+HIEQFRW7YG+VCUHkSiZ8zlUbpF2vVkhXP3xuoPC6ua0CXw4XUijD1 5pag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=PdsXyF3OC+6k01wdvpRGDBTvPRZa71R2EiA5i0mTRfY=; fh=l95L5Maua5HG0vXtrda7YXM3hY8pWBBFNczXRFh+wJU=; b=dJ9i56McTzrTDt6KFhcDg3d2KYe33701wf+V5YcqU7BTIh/S0myRtW1jSuIJeUqT9h p4v+OQ17DAOmtEWR59CiUT0t2zYDXEy7cW8HzAEAwu74mleGeWZBhqeC+kic1d8C8C2G /AMoredMBG1Ewj5KwTdsncJC9lKSAnENc2yECAzCjTahCYKKFYnUZZ6yZcK7GLEZhivl E/jahpYxc2yfZZa/LHg2AFabYi9Xj6sEQRA04y1RZrCrSlvXGzQyjiqkdx0rpqlMiQT0 mF0ZtLpTetmf9vzyQwbmMghZvahXR4TEj8lKn2upsaXBmjAOTIQB0ea6cOOBaKx0DUmR zc2Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NcMq+tVo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-46a3eb9883fsi52107551cf.261.2025.01.08.04.27.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Jan 2025 04:27:09 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NcMq+tVo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVV4R-0006ON-1h; Wed, 08 Jan 2025 07:22:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVUuz-00019X-Rw for qemu-devel@nongnu.org; Wed, 08 Jan 2025 07:12:16 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVUuV-0007M9-Ax for qemu-devel@nongnu.org; Wed, 08 Jan 2025 07:12:06 -0500 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-5d3f57582a2so1523961a12.1 for ; Wed, 08 Jan 2025 04:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736338272; x=1736943072; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PdsXyF3OC+6k01wdvpRGDBTvPRZa71R2EiA5i0mTRfY=; b=NcMq+tVoCiDiBx8FLt2ANk/82TR6zKzu87h6qss89EpOWwk0p8HDHWbcYnopXTQcgd po3sPOJv5yTm4E5trvAe52697jjNIlPHyQzriwyWjuJlpkOI/7MVV1t3jVEgBzcHVCYB AhgPkjBA29bhhjg4QRZ7ekzS73R6p9rMjXmawe3+d+86V+vISLS1i23QdheUukyAdZ9T +nI0XkHmFF0Zh2e3Jf12f4U9zYL0wrpQNzf+DlNsapwF7JMMzNhhJRah+BuCEwWXNqWf Bn5FQ+Vpj2P3vCV9TWPhy+87W4wh+ULi1pkLVbtfX7/1BtigMq51Ra8KFy/elwyS1KXt i4AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736338272; x=1736943072; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PdsXyF3OC+6k01wdvpRGDBTvPRZa71R2EiA5i0mTRfY=; b=sL1Jg0/D4vopjgJ+Lqccu543GPYNqChg6eyd8KIWZyFDedEIoUtxdyRiBO8hpCdi0Q dsLC4FziTkgaNUluRX536M9iYgGS0VHGQiuwJo9l2hZFXJx/fWkSJPSGD+lO7HXPrBnU Npqv3O08Xr+/Fiqvd7HQvO2jg6VXDbDluw/Do2iQy4e6vVc5htRzCVcG6IoN4mjCb6qC zR15ad+JModJl1qj59QCK12yUHZ3HrlOPWs4ltFs3Bb/QGyXaik8mkJSYhkqfnGj9+hw 68GT0RmGAYC9jSOcDZLMDnL9O4EC0ypyXZt9+B0VmiO0w+f8e8sKmiFHP26Vzhv7cc4x Tm3w== X-Gm-Message-State: AOJu0YxSpG75mTV79vTMMeclKwdxU6W66nHZbRr0T/DoOz+d+o6DglUd r3hbsBZW0SPmkbWu4taDTSWzkmSxP11GFKrLkU/auM8GnrCk7RtVahZtP11EaTs= X-Gm-Gg: ASbGncsQT96qEXdDxt4tzczCjNBgqHAEKCVuDfw/I7Nz5/oQuYi+35tbnhYunWpbWNp 4m0Rsg3aosOYK++uA+gVMRBx0ogw5h2eWa4zX2zt1mYOadXnGdII6rbk8a4O0aPE9syoSRedY4X Qu5ubuFuJWpTS+i0hstmLOi4IwbRt29G0jY5GqwqQGFuPtmvSxtsyPsqde09alyQ1NoPu8Kt44Y M0jLKPQKkvVtgaR1xVg1pcuEMcKyC2c3x+vlsLJkZGr4uKEEQlik5U= X-Received: by 2002:a05:6402:3593:b0:5d3:eb50:4e33 with SMTP id 4fb4d7f45d1cf-5d95e8ced09mr5874086a12.5.1736338272274; Wed, 08 Jan 2025 04:11:12 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80678c5a4sm25056881a12.38.2025.01.08.04.11.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2025 04:11:08 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 86EC960132; Wed, 8 Jan 2025 12:10:57 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Halil Pasic , Aurelien Jarno , qemu-riscv@nongnu.org, Radoslaw Biernacki , Daniel Henrique Barboza , =?utf-8?q?Alex_Benn=C3=A9e?= , Marcel Apfelbaum , Richard Henderson , Beraldo Leal , Fabiano Rosas , Mark Cave-Ayland , Laurent Vivier , Nicholas Piggin , Marcin Juszkiewicz , Christian Borntraeger , Wainer dos Santos Moschetta , =?utf-8?q?Marc-Andr?= =?utf-8?q?=C3=A9_Lureau?= , Ed Maste , Jiaxun Yang , Bernhard Beschow , Bin Meng , qemu-ppc@nongnu.org, qemu-arm@nongnu.org, Laurent Vivier , Joel Stanley , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , John Snow , "Michael S. Tsirkin" , Pavel Dovgalyuk , Alistair Francis , Liu Zhiwei , Harsh Prateek Bora , Leif Lindholm , Cleber Rosa , Thomas Huth , Paolo Bonzini , qemu-s390x@nongnu.org, Eric Farman , Weiwei Li , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Markus Armbruster , Daniel Henrique Barboza , Palmer Dabbelt , Peter Maydell , Li-Wen Hsu Subject: [PATCH v4 30/32] pc-bios: ensure keymaps dependencies set vnc tests Date: Wed, 8 Jan 2025 12:10:52 +0000 Message-Id: <20250108121054.1126164-31-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250108121054.1126164-1-alex.bennee@linaro.org> References: <20250108121054.1126164-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org 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 Cc: Paolo Bonzini Reviewed-by: Paolo Bonzini --- 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