From patchwork Tue Jul 2 18:44:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 809137 Delivered-To: patch@linaro.org Received: by 2002:adf:a199:0:b0:367:895a:4699 with SMTP id u25csp353678wru; Tue, 2 Jul 2024 11:47:02 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX45JuhZ+cOtqSA4U+Zy3pHoy6ttP/Ukm1bn4QdQzZ63BPf5lJePpeTztlnEPVTTecynXUzxMXSoWABHoiVCQmx X-Google-Smtp-Source: AGHT+IEQu0e/w1hWsNOgdiKik+XIcegFWY8NeuNZB/dEvcWJYiQ1y1EV4rZcpIpmWAuKEG6G6ww/ X-Received: by 2002:ad4:5c42:0:b0:6b5:a9c8:3c94 with SMTP id 6a1803df08f44-6b5b71c923cmr128457976d6.63.1719946021985; Tue, 02 Jul 2024 11:47:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719946021; cv=none; d=google.com; s=arc-20160816; b=z7Rw3uN0bZ4gJRkYS4R9lcIvXjbl5AS7DPQ012EqFpQvpdf7Dpq4WUQV94OFN3tcLa Glk+RaSoaWcWzzd9+z/AvK9N+p4g4GmSGU3jNkUOwmksyMErJmZz7pGWP9lJww6R3JBt He3e/+4nVlBmr8MUhEQA3TvrHiahx2vfLw+Vd7vNKAZ9GK5SXf0W4XA6n5RTHwurc+AZ jIsRCuugsO5AyNgXFyi/TeIYOW9LzX1zbPsBspIOHwpxOeQXaaceBeLi1RUzpXhWsC9E uRdMIkMmXGqYUhBAU1Vllecfsk6R8+ueCPp0aJn+WIUKrUvxvj/fWKZpIS7rpld3GQ+w XQEQ== 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=iz4DsSP3yw8VYMirhIY62MVce7Yg4FT9eLfXZZ6t1/g=; fh=gfpM3aBSiIRsf14INmaLJ3KRp8sEj+HIZZ4PMQV7Q/U=; b=t7Ss0O54ZAm9cj/70z/cW/4+d6R5WHCV+NxIFH64m2FlflQRaAkOfAQzsPtzNHlvUJ c7upJ2GQ/JtOhQFXddMbKaaUH6b0TwZMuBCBmQSJ5l0r2NkgTxJHPNZCbgTK4a6nFphU iyyzRp/jE61qXD9qrj224XLSEtJ/1L83u1wHneRjAy0aasqg/oejfehij+VcMolQnyNv U8iLxSY4n2jPYcWr2bQ3OzLXYaHHi0MBkCgfVo7nOS++1EXA1Rq85rec/KBBkNGZ87y8 QifeOWKyXqozmZimXvlWd1yLOkYbMIuwlpGp/BjeyPpzrvMYpzBWGbKJkugD9DRZl2CJ JZHA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z1iYSk7c; 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 6a1803df08f44-6b59e5ebca8si111377516d6.374.2024.07.02.11.47.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Jul 2024 11:47:01 -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=z1iYSk7c; 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 1sOiV8-0005NS-W7; Tue, 02 Jul 2024 14:45:15 -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 1sOiV7-0005Mv-EJ for qemu-devel@nongnu.org; Tue, 02 Jul 2024 14:45:13 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOiV5-0008Il-2e for qemu-devel@nongnu.org; Tue, 02 Jul 2024 14:45:13 -0400 Received: by mail-pg1-x536.google.com with SMTP id 41be03b00d2f7-656d8b346d2so2690117a12.2 for ; Tue, 02 Jul 2024 11:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719945909; x=1720550709; 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=iz4DsSP3yw8VYMirhIY62MVce7Yg4FT9eLfXZZ6t1/g=; b=z1iYSk7csNIHp0dvFoNlqnPOPSqp8ol4HxcYrzXTSirPWjQOHioHj2yZJhELyh0O3a MozVbtXcPsqymJkuxoc82vbTgviaAq8SgUEJ/pnAFdoyM6NUplSNH0OKWWyf7XXAW86S t7Mz2bSEt7RqmDsbvvZiG1m9xFnnsVOkiqgSkywtRQJPmvvsVTaW6A3gKDS5A8XiqCM/ 4TrMzdMC5GESRLcnAu9NVi4Qf/wwT+uwKevu8znslBIvMeZfF8tNYrpsJ37vkVc61mx/ w6wTAL556tclX7i3viGzSELDrRmkywY/PL9cm5jngn/EnGn7ALPE3DDrTU5Js5qfJQHT qGAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719945909; x=1720550709; 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=iz4DsSP3yw8VYMirhIY62MVce7Yg4FT9eLfXZZ6t1/g=; b=ClMEQRDl4qPNIlEBozuE61zbvpUwekAj+K4Dr2kXRhkwC2XY6Bz5m0QI/b7qPxi8xA c7ya/4sC/4OdfSFU7eNhq8xtOtvE/ROaR/3gCHXUndpELPls2nNfAdaTJWsTLZXaaRX8 jeec0Msek5KtlqSenZYfiRtM/RjGsgRve6dheZ5gyFfMKr1YBAO4jN11v6RGDiWjMFwE g59irMP1x6KoSW4eJ808eI+DDb8/jejyBQapNGEqAXMZ3Ngfv5QuylguoEOPMXqeyFMK suos7K0HDsbzJh6mLoC0wi/p2A2bJDi8hKipkZV24AypzF5LKA+WNr0fnSzULB5FyyaR zzug== X-Gm-Message-State: AOJu0YyLYLWkyOxsk9vH52XGGvxXsGz1FT4xGv1eZEzYUc3SkALhE/jS q4rKfEDXL/xQN5XY9QphTnTsv7KYr2fSsI6a4wSnX7yNaca6qOGAoqkGrQ0jYsHWURY1VYUJb8p k X-Received: by 2002:a05:6a21:3418:b0:1be:c747:5925 with SMTP id adf61e73a8af0-1bef610e1b8mr7911444637.34.1719945909064; Tue, 02 Jul 2024 11:45:09 -0700 (PDT) Received: from linaro.vn.shawcable.net ([2604:3d08:9384:1d00::2193]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c91d3e8196sm9257394a91.49.2024.07.02.11.45.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jul 2024 11:45:07 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Mahmoud Mandour , Pierrick Bouvier , Alexandre Iooss , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Paolo Bonzini , Richard Henderson , Eduardo Habkost Subject: [PATCH v4 4/7] tests/tcg: add mechanism to run specific tests with plugins Date: Tue, 2 Jul 2024 11:44:45 -0700 Message-Id: <20240702184448.551705-5-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240702184448.551705-1-pierrick.bouvier@linaro.org> References: <20240702184448.551705-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pg1-x536.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. Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Tested-by: Xingtao Yao --- 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