From patchwork Mon Sep 16 08:53:48 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: 828988 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:4187:b0:367:895a:4699 with SMTP id ei7csp681525wrb; Mon, 16 Sep 2024 01:55:53 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVBZRPtnsjpRAUudxNw07KzYZk4wyBFjP7lWjxz+BRhQRHMmsOKBAPxmFm/eAs/AyfNk5Yxfw==@linaro.org X-Google-Smtp-Source: AGHT+IE39zDiWyCxbk1dHivACPsY32l9jjFuE97BcsLlfCqOq4gr+kTo/66/WGfrjallfIGWtwGW X-Received: by 2002:a05:620a:2447:b0:7a9:bdac:6405 with SMTP id af79cd13be357-7ab30d23df0mr2137462485a.17.1726476952842; Mon, 16 Sep 2024 01:55:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726476952; cv=none; d=google.com; s=arc-20240605; b=fNIU9i8VPRKEtFYucWMtZ9sc7Uy6tmqNPgoA4gisV82fAz6iIwsk649wU8DEJZNFtV DKQ1MhExmTYIutb3BX05N0GojarACsQyLbdtxJZZzRIZM/5Pf+0CRX+z4MFMam3m4CCg 0tFr+dDest53sR1RV0JcysOuu3MXQyYdXiIkZzThhwtXyOgC/WaG4W2jl7xqvLIv8J5U J/qv8tueqkK9Vuq7UlshF2yq6d1FeYl/mHKyrcrhSup6veai9sN0o/bVoEr0DVsWt3rt VyTTBEilqmB+d2BjWiFOvX/iPqhCryUHx/Olgvn/Lt4Gg5deoiYHPttMFrYIh3vWu5Hu Quug== 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=yUal07zdcm4Ygo3M2xPY0Gx5kjUZNu1C0Q2GU9EplJc=; fh=J7xxoiH/FgLINVeQdLJSQ9A6Jne2JYMDx39ZFxN4EsU=; b=J0+WS9a9L24IfhqdtMQbrk1/NQ/BRrqy1f7xdUSr4kBLOPBHj2mqbjeBlGnpBiftYF mGMRE2OzALijhj5943j4ztsNMntlXfVekSv233nXoa40U9Zu8WNz3OgYkImXW9nwX5Xh F4f/BUd61Bc0BjVb8OdSTp5/s8Ftyq4/w7h/brHUkXiaQ7tD3AeHKnpUL5F445F/SzQC JVnm0XLPfah8H7uRXwvY63cFoGq4oFeVBTdu+z6rF0V2B8BIHeCx7MjCd4dj3g26nwes YFM5ckKUeVmSXUFrSlfiIU8H51vc2XMCVGimsPMlwlI7lNWOHVNJkF+Lg6sIzzQ3lK4p UGUg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MjhT80Z1; 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 af79cd13be357-7ab3eb86f6dsi537715385a.693.2024.09.16.01.55.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Sep 2024 01:55:52 -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=MjhT80Z1; 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 1sq7VT-0001Pq-Vf; Mon, 16 Sep 2024 04:54:52 -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 1sq7V3-0000F3-6c for qemu-devel@nongnu.org; Mon, 16 Sep 2024 04:54:26 -0400 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 1sq7Un-0005D7-8N for qemu-devel@nongnu.org; Mon, 16 Sep 2024 04:54:24 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-42cb5b3c57eso41372195e9.2 for ; Mon, 16 Sep 2024 01:54:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726476847; x=1727081647; 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=yUal07zdcm4Ygo3M2xPY0Gx5kjUZNu1C0Q2GU9EplJc=; b=MjhT80Z1H1MhvVaVj20l4mE0xDhHvEx23edFmML0ZbxFLMg6TOmN09ph4499PzNkBV xb98ViK7d9d1OMadPMwgT/Y0xHX98fyk/KphkLSsztMH0u857sxxg//dqfV0Pkxl1NCE LQYR4LxzA/RL/ptwhdxyDpYyJWERR5s8pD/M+VQBMjZHCVBOmXX3UKf3ITcfQPd+BQ1K hjqfAq1VT8EDYOl9yKjf9JNp3/t1ODN7P30Gbk64MtH1YEygGrwdFZxqxBhl4Bv77CIu +ggzHTmoxArhM+BfbXpwoImnzlB+lGUJcr/H2PnBwy+xjAeZmCvfvrp/96F2bp+F0Evu M8Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726476847; x=1727081647; 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=yUal07zdcm4Ygo3M2xPY0Gx5kjUZNu1C0Q2GU9EplJc=; b=Ke9R1KWczr/vL+PXlTKOy1nnR1/LbW76az2Rv49MDKbte36XUg0YMZwIWxxOoAF+qX SEsO4w9OLQyj8EYazhj+WmPGrSY59Z+DbZU42g7YgtaSRxwo25YcMK9FHP1VaDWn1f1k rR16RDUe2CZRNq4IE4BRCpUsjkwao/RxXiRmzYAQItZo9aWjDbylJnyBYXWxTu8jxkhs EWRmkQL/o6HmjDNOfJNiluBK05q3Z1lDNiVAyXBSfc4a2gu6LfYB7gLF7GNSpDQ4Dhpe p5xzqPyXwoI1uncG5cIvSeDhzRrRim/xbayG9nD6uC0VoU8sdJX5GvJBoy2MZBEUMp7q guwg== X-Gm-Message-State: AOJu0Yy0LdgPR87noPG7TXtW5kAYJPW+N1pdUMjqH1/Zn34IBgwTpKoZ yIMiw9oayp9EH+XPH125WFk5ET4fN/G8tYX8mpJ6iRn0hidseQhpluUjy671ceU= X-Received: by 2002:a05:6000:1448:b0:378:a935:482 with SMTP id ffacd0b85a97d-378c2d621c1mr10585661f8f.58.1726476847478; Mon, 16 Sep 2024 01:54:07 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42d9b054d7esm104993085e9.1.2024.09.16.01.54.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 01:54:04 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id DA8565F938; Mon, 16 Sep 2024 09:54:00 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Thomas Huth , Richard Henderson , qemu-ppc@nongnu.org, Ilya Leoshkevich , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Marcel Apfelbaum , Alexandre Iooss , Eduardo Habkost , Daniel Henrique Barboza , Yanan Wang , Nicholas Piggin , David Hildenbrand , devel@lists.libvirt.org, Mahmoud Mandour , Zhao Liu , =?utf-8?q?Alex_Benn=C3=A9e?= , Pierrick Bouvier , Xingtao Yao Subject: [PATCH v2 06/18] tests/tcg: add mechanism to run specific tests with plugins Date: Mon, 16 Sep 2024 09:53:48 +0100 Message-Id: <20240916085400.1046925-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20240916085400.1046925-1-alex.bennee@linaro.org> References: <20240916085400.1046925-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: -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=unavailable 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 --- 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 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