From patchwork Tue Jul 2 01:10:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 809020 Delivered-To: patch@linaro.org Received: by 2002:adf:fe0a:0:b0:362:4979:7f74 with SMTP id n10csp1830823wrr; Mon, 1 Jul 2024 18:12:04 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX60837++//HVodzQTCUbFFefRZJWaZbn4GxhBY6Mh/FSvJqIX8xF3WBN+hYHeAUc52zoEDxDyWxOHh+SyL/hI1 X-Google-Smtp-Source: AGHT+IHd7r06LCA1bHptsb2dNtP1q5N2SoBrD+o5yFpUGtSJdcaYX2TFXD4gUEAq4LIe1oxcmYxZ X-Received: by 2002:ac8:58ca:0:b0:440:9078:f438 with SMTP id d75a77b69052e-44662e4149amr91774171cf.49.1719882723879; Mon, 01 Jul 2024 18:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719882723; cv=none; d=google.com; s=arc-20160816; b=fP/9+cNFRkAQddath4qJc6a54cQlbZQLpRqVOAR/XiafXbFYyZqk0AiOHhiJMDPjnx 43fnod/yB3/St+y78WDfvY9VKEc2nfF9kI90AVk6kQ5TGNH4zq5nookPgulShhPHEKW7 geOoTokpfIR4ahUDLl349sokFt4mJlyXPXcudGUiBs3JHnU1IO4mAtwzfAt54i1eLowp gLQdikvJPzhk+kJ5UcZfPOU/N0AHWUDcx+JaEEJSBNfgP/ifN9egoJOZBRaUBWtPmrbp VyUhWZG7BhgXITek0h0oap9zqG0y97MwQvE2jSH0h+39fZ7Q4/9JOhGh2zXbY3aXrrJJ 8UJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=KfJtbR1DHFH39g5O1RoXMV40m1cvFRDojz81uxTKSUM=; fh=Dj7LLbUmtY/f5f9pW73RWc2Os2c72ErjJBZ6EuA7pXE=; b=GbDjH2cIk00v7dCrxWjzS55S0oAQSDvwmQ3ViH7cQcxF6ZdQUElKruScn9iOlGqPOF 20ic5R9wh8NvW1x8c84px+vm9kZFRisvPIRDMevM1/NWH0bj0Bxjl/4covsVEX/m2sko x6/jpEhgXzkoq2PnYSRdHwLkMcZXCQRRLaoGvRAiUz9/kGtljXS3KGybSrIMrU2S5Yv3 7huUmy3UjmE0yNDfvCs9h8l5phJIMlRi4t8dusU7EkGp8SHIuXTgxWq40yU0Waf6PQXi dRGXmVl68VHmRz0T5zjEyKTJmwSUC7JZSTQtOI6KlkdqahVAc4DBMCIYTnU1vrDFYAks tlIw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CpTK7hSo; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-446514e538csi90389941cf.732.2024.07.01.18.12.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Jul 2024 18:12:03 -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=CpTK7hSo; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOS2e-0005Sv-Rx; Mon, 01 Jul 2024 21:10:44 -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 1sOS2d-0005Sd-PG for qemu-devel@nongnu.org; Mon, 01 Jul 2024 21:10:43 -0400 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOS2X-0002Ac-03 for qemu-devel@nongnu.org; Mon, 01 Jul 2024 21:10:43 -0400 Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-2c8e422c40cso2056651a91.2 for ; Mon, 01 Jul 2024 18:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719882627; x=1720487427; 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=KfJtbR1DHFH39g5O1RoXMV40m1cvFRDojz81uxTKSUM=; b=CpTK7hSo9lCZQR1nv0XPdeMfn3hleLofUS3y/mz7v4bjHjsDogxL4JrsD2Nge/2oyb unHGTXg/DNrpmSKGE38bmQrYifjcpqBPBWLOx0kUtAcvODdPiLNxFY6zFcjEi+W8dbtX SEgzr6nx3eVwZ0MTt3kHB9fuV47huKyUyJLKM39dwHWN+U9/5SZ6z7b5bwuBkDs62XQS nne7lNiHHcGpEUps+1BOSkYgZdvttH0U9s+pZB3Q+xs2VcQxGtNTxDe/yoPOQz4xZ2nn hvMtqYwVxPx+Ckk2LDqAfLPcw/8B8etBLsS2HeQTYlxU21DDCRIHKFJnt3h2KNJRkldB ZjAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719882627; x=1720487427; 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=KfJtbR1DHFH39g5O1RoXMV40m1cvFRDojz81uxTKSUM=; b=gY8A7veYogdTE1rHogyV0ro0bSN98q0yshlC4zhpQBwWSG88bi6mEPymM4H0NF/N/T YxMOe1HzdHv+D7H7dxCMmIwZl4VbSsOL82VGmrfvKVZ5XZtvNHNrXeJMzaMKmyh/JQtg uHtBYHCNB1uTRwKlMeEq9h9okD397GP4MMBaNxYekO7P/mn1Km2WsxYcnp3HYtWeoq8S Cl1kxCM7HI3zuD//pJyefRvR3wsFPY+jOxj3Gw6bqBHOxXdSYo69SzwUlnZBw2XDnHwC vP2A3VuthpXt5zQL5t3wTpMGjqoQbAgv67Smt2G3lxD554yTdEpsPrLmJ0y+itUHCxSm GONA== X-Gm-Message-State: AOJu0Yxz0gWuSS3Dfd+rFU3QwojYFNIsb9isa5AJM579pcuQ7+xAF4Gq Kx9OwV1eveRc1sTBLL4cXvhSete/LMBHKGPti6VIKkbU526vzvoYPYiHcQOSTEGUd0nlvoAhYxO a X-Received: by 2002:a17:90b:3d8:b0:2c2:dd1d:ce6a with SMTP id 98e67ed59e1d1-2c93d77a623mr3766383a91.45.1719882627597; Mon, 01 Jul 2024 18:10:27 -0700 (PDT) Received: from linaro.vn.shawcable.net ([2604:3d08:9384:1d00::2193]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c91ce1f198sm7480317a91.2.2024.07.01.18.10.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 18:10:27 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Eduardo Habkost , =?utf-8?q?Alex_Benn=C3=A9e?= , Pierrick Bouvier , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Alexandre Iooss , Richard Henderson , Mahmoud Mandour Subject: [PATCH v3 4/7] tests/tcg: add mechanism to run specific tests with plugins Date: Mon, 1 Jul 2024 18:10:12 -0700 Message-Id: <20240702011015.325609-5-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240702011015.325609-1-pierrick.bouvier@linaro.org> References: <20240702011015.325609-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102d; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pj1-x102d.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 Only multiarch tests are run with plugins, and we want to be able to run per-arch test with plugins too. Signed-off-by: Pierrick Bouvier --- tests/tcg/Makefile.target | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target index f21be50d3b2..dc5c8b7a3b4 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 PLUGINS_TESTS variable. ifneq ($(MULTIARCH_TESTS),) $(foreach p,$(PLUGINS), \ - $(foreach t,$(MULTIARCH_TESTS),\ + $(foreach t,$(MULTIARCH_TESTS) $(PLUGINS_TESTS),\ $(eval run-plugin-$(t)-with-$(p): $t $p) \ $(eval RUN_TESTS+=run-plugin-$(t)-with-$(p)))) endif # MULTIARCH_TESTS