From patchwork Wed Sep 18 21:07:00 2024 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: 829428 Delivered-To: patch@linaro.org Received: by 2002:adf:ebcc:0:b0:367:895a:4699 with SMTP id v12csp36415wrn; Wed, 18 Sep 2024 14:09:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUriFiTasBTZUKXcho6fwFvlYGDooUvsDBjqq0T1Xqlg2TTYGh32bs4Ph88or5ExTMQkdtqMg==@linaro.org X-Google-Smtp-Source: AGHT+IF/PkMcH3J9vFRwo/tTzMnMfSIKhGVtCdpC7SEmrcjZcaI3GcEMovujU1By2GmnB/DRCj6L X-Received: by 2002:a05:6214:4588:b0:6c5:8341:b00c with SMTP id 6a1803df08f44-6c58341b11emr323880716d6.42.1726693788307; Wed, 18 Sep 2024 14:09:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726693788; cv=none; d=google.com; s=arc-20240605; b=VRuefGXisL55fHVFX630fnplThAKS+OAf3BF3QJz/ZrtUFxtV8Ql9RYdlec9xM4pa3 eSFYTVhiGh5Yzvi7tnnnYLLrpLpKXYlTxJyEbhERewPl89//aiz1EaYu8KpzCO6IFIjR rr8vh5lxHol3y7Rus9vtlvxbvWJPuEA31gu0IjpmIfaNvjsPWr4UO+28G8BfwVN7gF3i pdQgWqtuYzeaRuqE0ZA8GISW2+Cx9NArh2pFhPAad3Wi4Vl8ZzpgZN8bkBpaaicgTeoE g8BmoxGVFdpehS359LrN//oRH6p6V6UF6/Xbk1olhsPN1IMiwFLDDCaVQBjVwhDzKke1 i0jg== 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=5hPYnws2CPsfhEtfVIm4JM3/IzZjfJCyZOBoN4xWTqc=; fh=Ub7UaGkTAKmrKnW2gkbZmnwQuAJuc1WQwiBrX2fJQsk=; b=IHBAu30rcBm7jBd3KeQCq+oku1VYYDET1CEMxyCyoUNRVLa9nuomAk1GI9zT5t9nBi wNCk1A0GKiFpcXI0HTrZaBYnkfNRkhADKjJbMZoKPjpnXaeKwdcrp45FfugupEp3aVgH T+nQoAeLHlY8NyOXYK8FYo4zmiexKCVxYjZms6wWbMpus/GCCQL828ITNXCISTCskZYI wbPDCXQww42oT7EgRnKtgMR7ujRmXTiojCfN/Tm9Sa4b8niceKuDG23+t2KVqfYBST4g iF2vana8d/ckwzukLQIRVVH9hAdJ0rp2QMdtZ1nmyEEwmI5OlVpcHMVgUnTJXnWmenxK ejCw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ayydsn91; 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-6c75e584ab0si3036486d6.390.2024.09.18.14.09.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Sep 2024 14:09:48 -0700 (PDT) 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=ayydsn91; 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 1sr1tU-00054R-32; Wed, 18 Sep 2024 17:07:24 -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 1sr1tR-0004rn-4d for qemu-devel@nongnu.org; Wed, 18 Sep 2024 17:07:21 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sr1tP-0001bk-JA for qemu-devel@nongnu.org; Wed, 18 Sep 2024 17:07:20 -0400 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2f75aa08a96so1052201fa.1 for ; Wed, 18 Sep 2024 14:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726693638; x=1727298438; 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=5hPYnws2CPsfhEtfVIm4JM3/IzZjfJCyZOBoN4xWTqc=; b=ayydsn91G+nUmPpv9xPPyYOkJbeMUKZcCrUnBqqaUslrAadyddxa8AG6uU1iOjBD7R dFh3CDb3O3NDQiTiW97Yp1Ekb1BlbHQwu3d7paUHULxd4deiCM5PsQ4R5EC+Y9zsNzHd B7Ilnnr9rQF807AX/0/7g22UwxNKs0ewq9Qra37zwJU1xqEGuTr9sQBrQP8b6E40ieoz UTowwmwfhGQ1a7R2xrSe/OsWxPxcpzuCiwE1e90G3YEC/e+Kym3/oYCp6J6D8eaHHO4Y KqGqm2GDldX3Aa+64ppaHcOdukrfvVdpol/O7KDySYr0G5nw9Op3Nh/cy2DM2jwaxTtO WNjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726693638; x=1727298438; 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=5hPYnws2CPsfhEtfVIm4JM3/IzZjfJCyZOBoN4xWTqc=; b=ZJS/yMxRMT2QH6eSKSFlEBDmVvX0hLKcgiHgtwtbxBe8ox1LQM009LrdSe2BW+irBS KkUewnPD4TU/JbUMENHZPG/uOquU/9pZ7ddKNO3iotn5eaMGcJc8eH10YpMbAFRGn/8P 22o2owdiv2jzvNrGclcuiqIu+8QCfxTpbyAFMNAORaH8ze4qA+A9jQ3jeMyicIkQPfvT vqsxfx0DcaxCfhFH4MdAI73pImDouHfznDH3rtON04SYvHk7QMxPDDYrwOouz7UX0Wi3 I/DTG9iXQhroYAhdpaP6XkvKoIm2Llnz4yLtCeQxbPv/BwL0kIlVNCTY5EYggG5HTNQw wFZA== X-Gm-Message-State: AOJu0Yy7mzGC/yu7NKabC2Lxmtyfn3zBQRQg5NJg9Hr5FS9/N2t0iOkf 07Ueh4N4uvz1RPBaao4fEI+GkSDjA4tujaB3PwmgMmXjIaoldd+PCRZRcgYOkcE= X-Received: by 2002:a05:651c:1548:b0:2f7:5bcd:ab52 with SMTP id 38308e7fff4ca-2f787edca58mr121477401fa.25.1726693637736; Wed, 18 Sep 2024 14:07:17 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c42bb8a428sm5339909a12.71.2024.09.18.14.07.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2024 14:07:16 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id D1A4B5F90D; Wed, 18 Sep 2024 22:07:12 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , Xingtao Yao , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PULL 06/18] tests/tcg: add mechanism to run specific tests with plugins Date: Wed, 18 Sep 2024 22:07:00 +0100 Message-Id: <20240918210712.2336854-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20240918210712.2336854-1-alex.bennee@linaro.org> References: <20240918210712.2336854-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::229; envelope-from=alex.bennee@linaro.org; helo=mail-lj1-x229.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=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: 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 Only multiarch tests are run with plugins, and we want to be able to run per-arch test with plugins too. Tested-by: Xingtao Yao Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Message-Id: <20240724194708.1843704-4-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée Message-Id: <20240916085400.1046925-7-alex.bennee@linaro.org> diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target index 452a2cde65..c5b1c7a786 100644 --- a/tests/tcg/Makefile.target +++ b/tests/tcg/Makefile.target @@ -152,10 +152,11 @@ PLUGINS=$(patsubst %.c, lib%.so, $(notdir $(wildcard $(PLUGIN_SRC)/*.c))) # only expand MULTIARCH_TESTS which are common on most of our targets # to avoid an exponential explosion as new tests are added. We also # add some special helpers the run-plugin- rules can use below. +# In more, extra tests can be added using ADDITIONAL_PLUGINS_TESTS variable. ifneq ($(MULTIARCH_TESTS),) $(foreach p,$(PLUGINS), \ - $(foreach t,$(MULTIARCH_TESTS),\ + $(foreach t,$(MULTIARCH_TESTS) $(ADDITIONAL_PLUGINS_TESTS),\ $(eval run-plugin-$(t)-with-$(p): $t $p) \ $(eval RUN_TESTS+=run-plugin-$(t)-with-$(p)))) endif # MULTIARCH_TESTS