From patchwork Wed Feb 26 14:03:23 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: 868513 Delivered-To: patch@linaro.org Received: by 2002:a5d:5f56:0:b0:38f:210b:807b with SMTP id cm22csp815864wrb; Wed, 26 Feb 2025 06:04:52 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXudmMoPhtqQPRo5JbQ5sirQluUP1hFaE0NokzbXkPRm7+sKtv/svDB4nh94J52jZuS/VqoJQ==@linaro.org X-Google-Smtp-Source: AGHT+IFAuB3xQfx9RtDqtdgatp4VoN9aT5QteFfstoY0/TWxYjp2HrTzPs2W64bHBvctsLunLU9l X-Received: by 2002:ad4:576b:0:b0:6e6:5fe5:a596 with SMTP id 6a1803df08f44-6e6b0106f69mr260227616d6.19.1740578692470; Wed, 26 Feb 2025 06:04:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1740578692; cv=none; d=google.com; s=arc-20240605; b=XV3mL45IzvBtVVWBQ6EjkdxSrHtwobC8LzNJANohR3kJpAOD7nGQzfuaHxLwdzAB9+ r/+V75KJG/CYTfLLqro9LJpEycc0i1l/fDElGp+roUuKByWEBbO/llsuJsO4028sf+Y7 hcuMpGDWxaCisnxqqEx8fh00Sk6RPuGtwWvJcF2ZOBB2SGnbAzcrAUiGQjvEslJopPdz h0OLceh+lyLICEDW9MLBdiDwVBc8rgb0DMF7k5WhJHfK/Qcj7rGlTYpDTr+fqE3BrkpI z+llp2J2Qb6BlLkbjJrmOVbjUvX3+SS0VG4kpw4UM+hYMKRpxA+zzaUzc0qDJuppIqJR iXBg== 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=hVUFpp6Y2+qzYjm8DoMOY8I59cSTCLj9YwKdTZJDgXc=; fh=fySNGfDYHed5hYuWeyYWBmz9AHLCfB1G33J0dTYFdV4=; b=fPBR7nPU341tFAd8lRrqfLc9rWhPYCaxA+birhMHcCp04aaNn/YE5k/O9hTo458oCp OqoZDXz24gTK1lZ5vqVjK9pN4cz0OmaZYwAxzom6SGHHj9AbbMRW3BNPzRsKUISPOn9j jUAtnGoKuGayde9NQSVHOKEpXHNJMlqWdce9jpU7v3brwOCVT1P+lf/7OErNexGjw9uM fHNj+tk5mw3osvpW8b1cM8GfRfrPaZH/XXIylk2q9oHF2G4GRzyxu9BGwIWu0ckcyUpF MkVjxiRWr0VlWZ2JqEa6zk1iPTVeXBQy5/pX/n20fdxzYK/0JMKC3URzOxaOJbsUOui8 NDyQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JexMdG+Q; 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 6a1803df08f44-6e87b01a847si38230466d6.5.2025.02.26.06.04.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Feb 2025 06:04:52 -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=JexMdG+Q; 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 1tnI13-00017P-Hc; Wed, 26 Feb 2025 09:04:01 -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 1tnI0w-0000wP-61 for qemu-devel@nongnu.org; Wed, 26 Feb 2025 09:03:54 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tnI0s-0005fF-TS for qemu-devel@nongnu.org; Wed, 26 Feb 2025 09:03:53 -0500 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4399d14334aso60065595e9.0 for ; Wed, 26 Feb 2025 06:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1740578629; x=1741183429; 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=hVUFpp6Y2+qzYjm8DoMOY8I59cSTCLj9YwKdTZJDgXc=; b=JexMdG+Q1vUM7Mq8iUHS3Yxy9ymB3nJwY0bVeSbZIYHtroIgd4T/YkRG2hthZDTh7x UeXch/IybmctMTDU+80zfny0NlXr1W6/TkygfChF7cRWuR7/4ngDRPk9JlwZlsPyZKRR PKdzrFsdFP87i/YlkrZiRpDFPjbdVsa+ZTNeoufo2OC3osBcc09M5YGAYPCoo/9Gzu3H jpP0kWAcU4guPUKDnNzSsZnseV2eA47UH/tD4W7q2JDPq3Md3aijK5anPNkjF+faQjHI tGM8dx1IrX3Cpj4zWQfAnv136tyKxIkRAl1TbfN1Xo/AppFNV9T7i5Pw/NsIuPyr1z2u 7w6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740578629; x=1741183429; 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=hVUFpp6Y2+qzYjm8DoMOY8I59cSTCLj9YwKdTZJDgXc=; b=NSfTDM5yEYk7mvqHy4qagGfMkskZSVUvHfsUNmWh70zXQGK67fiE1SMe4OE5NmKbu1 l4DmqGAhCuOyInGKEU6vZfDk9Ezi3QxK0WMgIuuX0m8u3yN0T0MpbZDc/tcA5crQtuEw e6/mIWXA6E2ttMg58h9M/K0D8Ve7RfTrFF8xnC+dSya9HXHDeZq6K60M+ppXRxTPzJI8 JsbfHqj4u+ZRppIhSa3YPEp782snHnMgytdCuzuFmKWYQ5H7O2RbpOn8mO0sENwtelyY UW324sj8Qy8gJgjA4BtIHV0CB2NN61Pq2bQyX9fNl0YnYY+2XgLbLCSG35ywaIdZAcZi zO3Q== X-Gm-Message-State: AOJu0YzU9aJ1587DTVBh0EYnzoCxFO2eZqwkVgtMhI01KlJIQw01BQZv kWGoslUgxFRds84Ux/x0FdXL08edGiOco1tMlmYTFum1r6HdwS59JDtoXg9V96I= X-Gm-Gg: ASbGncv2/eFxYXu80hNkkWZiK7CInPMkH/U6c5sx4ivfVBafV/IYVH1vpJJarE/RI+l +/8AptGC67aJ5PJ6LxeRWyjIXli0aMR71iH/P5fRYqVR7P/UcGhkaSepNOeS6e5uPy0EraB5QJB fI8JovPKDyhLXZ7pbjgfw/+qj0E7vOnhiglpi5bBDStdgl1bUS2viuOt+jBnQrelxzxb6QTUcae t3GwMU8muc8QJK9X7PM6mEmRttfBPLqwJ0X+iovVqxAola3NLRnWmI2591bflwP9/BMyenKdSwA 1mZRucsWeyyRbfy2yH4DKILGpNEO X-Received: by 2002:a05:600c:3ca3:b0:439:6a7b:7697 with SMTP id 5b1f17b1804b1-43ab8fe183fmr36056185e9.14.1740578628511; Wed, 26 Feb 2025 06:03:48 -0800 (PST) Received: from draig.lan ([185.126.160.109]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-390cd882bf7sm5792382f8f.52.2025.02.26.06.03.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2025 06:03:47 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 5E6786030F; Wed, 26 Feb 2025 14:03:44 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Peter Maydell , Kyle Evans , Eduardo Habkost , Alexandre Iooss , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Laurent Vivier , Mahmoud Mandour , Paolo Bonzini , Li-Wen Hsu , Riku Voipio , =?utf-8?q?Alex_Benn=C3=A9e?= , Warner Losh , Pierrick Bouvier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Ed Maste , Thomas Huth Subject: [PATCH 05/25] plugins: add explicit dependency in functional tests Date: Wed, 26 Feb 2025 14:03:23 +0000 Message-Id: <20250226140343.3907080-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250226140343.3907080-1-alex.bennee@linaro.org> References: <20250226140343.3907080-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x334.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 From: Pierrick Bouvier ./tests/functional/test_aarch64_tcg_plugins.py needs to have plugin libinsn built. However, it's not listed as a dependency, so meson can't know it needs to be built. Thus, we keep track of all plugins, and add them as an explicit dependency. Fixes: 4c134d07b9e ("tests: add a new set of tests to exercise plugins") Signed-off-by: Pierrick Bouvier Tested-by: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20250220080215.49165-2-philmd@linaro.org> Signed-off-by: Alex Bennée --- meson.build | 1 + contrib/plugins/meson.build | 2 ++ tests/functional/meson.build | 2 +- tests/tcg/plugins/meson.build | 2 ++ 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 0ee79c664d..4588bfd864 100644 --- a/meson.build +++ b/meson.build @@ -3657,6 +3657,7 @@ qtest_module_ss = ss.source_set() modules = {} target_modules = {} +plugin_modules = [] hw_arch = {} target_arch = {} target_system_arch = {} diff --git a/contrib/plugins/meson.build b/contrib/plugins/meson.build index 484b9a808c..fa8a426c8b 100644 --- a/contrib/plugins/meson.build +++ b/contrib/plugins/meson.build @@ -26,3 +26,5 @@ if t.length() > 0 else run_target('contrib-plugins', command: find_program('true')) endif + +plugin_modules += t diff --git a/tests/functional/meson.build b/tests/functional/meson.build index c12ee1ce41..ea4b12c054 100644 --- a/tests/functional/meson.build +++ b/tests/functional/meson.build @@ -366,7 +366,7 @@ foreach speed : ['quick', 'thorough'] # 'run_target' logic below & in Makefile.include test('func-' + testname, python, - depends: [test_deps, test_emulator, emulator_modules], + depends: [test_deps, test_emulator, emulator_modules, plugin_modules], env: test_env, args: [testpath], protocol: 'tap', diff --git a/tests/tcg/plugins/meson.build b/tests/tcg/plugins/meson.build index 87a17d67bd..c8cb0626a6 100644 --- a/tests/tcg/plugins/meson.build +++ b/tests/tcg/plugins/meson.build @@ -19,3 +19,5 @@ if t.length() > 0 else run_target('test-plugins', command: find_program('true')) endif + +plugin_modules += t