From nobody Fri Apr 3 21:00:37 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1774255692; cv=none; d=zohomail.com; s=zohoarc; b=Hu3aAm67r/Okb5SJuw++ysV//HpuYf5NgkdUOSnLpUhZovy1PRRP9kvxVLMT4Bu0e6BuT2ZaUL8ju6bg5umJ3ciVk1qCVCmU1hGXu4idd2xsabVdshrkxxvWzXDq5uYV2Lv5JNk636tGw1jNk8htS7lTzaFNulOyqgQlt7x+MM4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1774255692; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=otcQ2Ali03w+PA52KvfAg+GxSS4w4PK0XGhlil6m5bo=; b=k7IQRi/bRt82ddtJSOBoT3MVLttlkrCq8d0vb2gqU/4yMlHaYxLZ1OKAZm/EHrwy6MtMAhW1vG4oRYqUnmTcAeIpTO4Btq5o3ouzQ7KM8AOP+wzD7KPEx9yNa4au+oaoKQFrKE5jjojgIcA/+A+c/Wv34sUCrksBeyiqENaWbKc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1774255691668802.0430996981748; Mon, 23 Mar 2026 01:48:11 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w4ax4-0003mh-JN; Mon, 23 Mar 2026 04:47:58 -0400 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 1w4ax2-0003mL-DB for qemu-devel@nongnu.org; Mon, 23 Mar 2026 04:47:56 -0400 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1w4awz-0002Kv-Jc for qemu-devel@nongnu.org; Mon, 23 Mar 2026 04:47:55 -0400 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 3FB73EC010A; Mon, 23 Mar 2026 04:47:51 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Mon, 23 Mar 2026 04:47:51 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Mar 2026 04:47:50 -0400 (EDT) Received: by fw12.qyliss.net (Postfix, from userid 1000) id A908688CD104; Mon, 23 Mar 2026 09:47:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1774255671; x=1774342071; bh=otcQ2Ali03w+PA52KvfAg +GxSS4w4PK0XGhlil6m5bo=; b=fJXo9twIP0XBoO78ySQQcJ/d4hcoNgHw6UxLX VSH1msZLVkSz75CikNsynLx7tqPJ3yk1w6o0IeA+MDSm9ez5a5vAnT/vOJoA93bb V0MCT2UYwqVTI6P/8/Twm9zygLhjibTYhpSTfT5lpHS6OtNNInxhqB6dvcdH1wDG 3mDZijJ135uav9GDy6ZsunXI28/YW0udfKT99QNRiyuhHF1rM7mje4K3ELS4HKaQ GV+sF1ZUtjjouu1WHcErv6Hx5x7d+Jes3akU3Wnq+B9OlUSTHDLKf5bjg8KBNFL/ 10v7fYwD6thL6auxVc+a0kpPYgBL1oDIyRNthGoNIyKffbGFg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1774255671; x=1774342071; bh=otcQ2Ali03w+PA52KvfAg+GxSS4w4PK0XGh lil6m5bo=; b=Imepn+vwOP4hcylNDifIpcHBgiiZOHDHhWF6mB41+tVogTYsO0F QQOeF8GMeReoUx3l801TBWXQTGfeGsryln/pyARsFF71zC9cbgO5DY6SyXF93mm5 rgl6qv+nvr9tyD26I5D6Ksq0wB0OS86RUEhc92+kEH0pzVJhbPoeHW6XvAPMMfkS 6AlhjmvS48kfZUuKOmQiiL4dg+ns0RLJTy0Dgpx+Ftfw8NiJOwrJzw7hFnHSZtfz 4OfO/QVcqPkEwt/6AVrYCb5scdIjQqnEZRlCc3TYqdb8TQpXcwc7HCASSRkTqPJ4 GG2I1AxGvaevoox4s5nnV9eHpUZza7m25BQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefudekvdejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheptehlhihsshgrucft ohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepheekgfdtve ettdekuddugeeugfdujeehuefgleegtedthfffudfhheduhfduuefhnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdrih hspdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehp hhhilhhmugeslhhinhgrrhhordhorhhgpdhrtghpthhtohepqhgvmhhuqdguvghvvghlse hnohhnghhnuhdrohhrghdprhgtphhtthhopehthhdrhhhuthhhodhqvghmuhesphhoshht vghordgvuhdprhgtphhtthhopegsvghrrhgrnhhgvgesrhgvughhrghtrdgtohhm X-ME-Proxy: Feedback-ID: i12284293:Fastmail From: Alyssa Ross To: Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Cc: qemu-devel@nongnu.org Subject: [PATCH] tests/functional: preserve PYTHONPATH entries Date: Mon, 23 Mar 2026 09:47:39 +0100 Message-ID: <20260323084739.1013748-1-hi@alyssa.is> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=103.168.172.147; envelope-from=hi@alyssa.is; helo=fout-a4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @alyssa.is) X-ZM-MESSAGEID: 1774255696437154100 Content-Type: text/plain; charset="utf-8" Otherwise, it's not possible to use a packaged qemu.qmp. Fixes: 1497377857 ("tests/functional: Prepare the meson build system for th= e functional tests") Signed-off-by: Alyssa Ross Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- tests/functional/meson.build | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/functional/meson.build b/tests/functional/meson.build index 9bec5a0751..8c4d7f70e1 100644 --- a/tests/functional/meson.build +++ b/tests/functional/meson.build @@ -76,8 +76,10 @@ foreach speed : ['quick', 'thorough'] endif test_env.set('QEMU_TEST_QEMU_BINARY', test_emulator.full_path()) test_env.set('QEMU_BUILD_ROOT', meson.project_build_root()) - test_env.set('PYTHONPATH', meson.project_source_root() / 'python:' + - meson.current_source_dir()) + test_env.prepend('PYTHONPATH', + meson.project_source_root() / 'python', + meson.current_source_dir(), + separator : ':') =20 # Define the GDB environment variable if gdb is available. gdb =3D get_option('gdb') @@ -96,8 +98,10 @@ foreach speed : ['quick', 'thorough'] teststamp =3D testname + '.tstamp' test_precache_env =3D environment() test_precache_env.set('QEMU_TEST_PRECACHE', meson.current_build_dir(= ) / teststamp) - test_precache_env.set('PYTHONPATH', meson.project_source_root() / 'p= ython:' + - meson.current_source_dir()) + test_precache_env.prepend('PYTHONPATH', + meson.project_source_root() / 'python', + meson.current_source_dir(), + separator : ':') precache =3D custom_target('func-precache-' + testname, output: teststamp, command: [python, testpath], base-commit: 8e711856d7639cbffa51405f2cc2366e3d9e3a23 --=20 2.53.0