From patchwork Fri Jul 5 00:34:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 810343 Delivered-To: patch@linaro.org Received: by 2002:adf:a199:0:b0:367:895a:4699 with SMTP id u25csp1388057wru; Thu, 4 Jul 2024 17:35:06 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXe2cFsz21AgWVIQWKmYxRDiupvD/yG6+aAVo1h+poja309azEIekiEmlXS0Ppvb/ZUVTFxLFA/m7cB05nrJcXX X-Google-Smtp-Source: AGHT+IGB2XAES5mS+WijmU/1AKX/UKW1WDcJ3h+TlyaLZCJhRm3qAS9OeFsm0pTo/mp9sZIUvrfP X-Received: by 2002:a05:690c:7082:b0:615:20db:4a4d with SMTP id 00721157ae682-652da44dfa9mr40721707b3.35.1720139706344; Thu, 04 Jul 2024 17:35:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720139706; cv=none; d=google.com; s=arc-20160816; b=ejk4dzdSvpHAUD5hL4FhZrpwNqo4uiaKhqrbSK/MjC8YGVVqC9cIg7Cemmfz997/r5 pWQU5pem41bZqhgGJvpaCfupd/8B9nqBPPKNSpvb7Du4ul/F8EsEAkRcD9a6fCP18OyS xWliSRSSvMdSvceoQGFM+iFY3c7Qc1aoHM1A5UKYxho1Nd9+5yknsN0M73NfZ09nkZnf ogOlRvh064g3Os0I2AXpISJcK4ce4Rn7Fow6b+Y/QVSU5ZtdDXy/4dsAe00O/KIZ/Tz3 A8QnW8rH8P73aB+8bG4AK+A7L1zixWbwzM/4CSlDdEcw/unlliNDC0P/mrbIxr2691DH arNw== 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=XfhwC1XNHeRrJpRL3CXnBSOq4oYvCsk8gfHdkEU9ETU=; fh=bvAuOvh1AKvMo7NXObJGN9xe0u3hHEkijA6HXPQQm8c=; b=QLsG/7QUGntwepENlJKrdeDIwRtfYNeyXJZPS6NVQTnboPNFswGv6Xlm1112WwaA8+ VO+nYg7+ZgDkzLBbwh+NetMBJ/bwTH+E/kTTQPc5dxuJtqu1FEzoGoxwfXe68Z6lJv34 Fcsdl56FixSs4sI/bHJRJAW1G9krEzOAlC0RCLiVS2nwL/qY4Qmlc2iTi2yOkSEe1wm0 T7BTCq7wO+T1NhQbiL5WsBT1LDtB3ccetQVir2YwdI6sEs2o8AG9RlVLcF5dxnqy83Nz eh6phqu6FngOoFUWrDmgK4lk1mspz0yHsip82HWe4GSQpq51+DutBBMgdVTAxG3e09Z2 HQPg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LKHsSmpV; 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 af79cd13be357-79ef801cd7esi4127385a.695.2024.07.04.17.35.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Jul 2024 17:35:06 -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=LKHsSmpV; 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 1sPWug-0002t7-19; Thu, 04 Jul 2024 20:34: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 1sPWue-0002rs-23 for qemu-devel@nongnu.org; Thu, 04 Jul 2024 20:34:56 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPWuc-00006p-Gk for qemu-devel@nongnu.org; Thu, 04 Jul 2024 20:34:55 -0400 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1fafb9a33b3so6132245ad.1 for ; Thu, 04 Jul 2024 17:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720139692; x=1720744492; 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=XfhwC1XNHeRrJpRL3CXnBSOq4oYvCsk8gfHdkEU9ETU=; b=LKHsSmpVGqQmb7c5a62/3YCI/2vCLcWGmCuUmOOodrUs8fVj9i4Rnw0ty00UmbHG29 T5R05bYmahvxHdXpEfQnHf/oCvOywUCKZnj7B8HrJxNJjIR/r7ugzqfXwjLWxW+7Bp0p AXvDt1T/sf3OrIHNvsgbgMb+winczjXXJUutK6TD5EsQd0HBJGzg/jWrse8Pyupu7AXi HIyJBEbXQnwv5Pn3Jc6XzBJyzwzhI/G1M1PNIqLhz4BKB2+cTNHk1aAHk0YfumHTL1jO lygKNdylwdUZ9XmYAlwHri4VBzNMrtdbugZQQ3XwC7lS1sVL2AuvOGk48TYL9B7VyOVe onvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720139692; x=1720744492; 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=XfhwC1XNHeRrJpRL3CXnBSOq4oYvCsk8gfHdkEU9ETU=; b=nm8rvXlrBVVdgiLsKaWFh80b5eKYsIFtrysLD1yv/nSvxsrIvgFoKJGIR1lGNvGmZU xbcPG1usL4t04TezuCI68pVEGsuFmU8w6cd7cp/6Oqd5g3Bs9GXbisCwzvvo+ViViIHu YCvPtoy22nq7nq9oNLESmvI7/Ul9fdmfgAK4D8R98BwlRTg3xbcaLOJlN0LEJZdAEyU6 +0MAlxfIdkzbBd/sppDdaKKbE92CHjz6g5VMAYFox4yXDpzzInl6mfUsj0lEXT83DqsO cZuPOiBMW1B54KvaiaTGqGUDBMxd0VFAYB0AVzN2skomzWyTXQffPMxW80IGmFjqxTdr AW/Q== X-Gm-Message-State: AOJu0Yys5VOtNeu0HIjrWEWyqQUXFFlDzPBqBsJVE3dgySWe72coXGdp v4l7Z4/jtoq6NehcA8LX19EzuaaL8aN6fomZN2Kl1IFm7EIkSCqMOl5Myflv6njB6VWlYSvn/tS oGNE= X-Received: by 2002:a17:903:2349:b0:1fa:8f64:8afd with SMTP id d9443c01a7336-1fb33df595dmr21259635ad.11.1720139692552; Thu, 04 Jul 2024 17:34:52 -0700 (PDT) Received: from linaro.vn.shawcable.net ([2604:3d08:9384:1d00::2193]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fb1a075616sm39008595ad.15.2024.07.04.17.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jul 2024 17:34:52 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Alexandre Iooss , Richard Henderson , Marcel Apfelbaum , Pierrick Bouvier , =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , Yanan Wang , Mahmoud Mandour , Eduardo Habkost , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Xingtao Yao Subject: [PATCH v5 4/7] tests/tcg: add mechanism to run specific tests with plugins Date: Thu, 4 Jul 2024 17:34:18 -0700 Message-Id: <20240705003421.750895-5-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240705003421.750895-1-pierrick.bouvier@linaro.org> References: <20240705003421.750895-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x62b.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. Tested-by: Xingtao Yao Reviewed-by: Richard Henderson 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