From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D26D1BA357; Fri, 29 Mar 2024 12:50:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716649; cv=none; b=YZlYoX8UxdqpIAQvjp4XvQgCKfCka477jWT580cYeKG3+VCCMTryXnWxY5ZyTVT63IoMcxj+u4z3qxits+tKEKuqsDJO70a7q09qiuAEvkvR2PjyHtzJWMCkgyipU7z+f4K1YRXDpCM2n6fkJbHyAorUZDl2LJivYsPf5V4nsAI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716649; c=relaxed/simple; bh=2CT5TMEdNVYCzLo8VTLONH4QX1FoanofH8O0Y72S7s4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=N+Mtk2JzjI+8dKkgMwvUQtN9GwQiYi6ndAMn6Cg8kk170sA49FzHfOvayf113Rq4Hry0lHhbIFSQ7zk8WdJkC7SoNNPbGX7v1BvZpp9ygFT0YhRPnRT0C5Vh+/FgxsT9pMbhrkzOip3g5xz8BeD+XnnmPBoAc/Upsc6V4YIdA9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oVKsUO2p; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oVKsUO2p" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C72DDC433A6; Fri, 29 Mar 2024 12:50:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711716649; bh=2CT5TMEdNVYCzLo8VTLONH4QX1FoanofH8O0Y72S7s4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oVKsUO2paL66b+6pDgdRGVUT756GeWWvCALcA0gnfbHRVaHP9YSbXs+3VvNgDWkJ5 ICM6Noxt7kzkU7XMorcJPu8d/nw3RaNZHUWlug6X6If0tb2D3KA9imlASOzey9pbNP 8MEofkBGSWJThxKD9h8vdgiqVD0Me2oTlZdr3kSckCP5RnaqwpKkHAMKmtGy9SjwY9 1rTNJJV/P0sBFjKHkzHHaqEWaEjtAUZstRvQojsf30cJhx1ggyDM76kCrM9ziS6NY1 7jf5W9eUVnwhNwQYuOoq3KSmU6ye5klqWSlTFm9nmCQkI416XENanYqI0AitrhOh2J 1Qvea0JKQGvsg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: "Ricardo B. Marliere" , John Hawley , Steven Rostedt , Sasha Levin Subject: [PATCH AUTOSEL 5.4 23/23] ktest: force $buildonly = 1 for 'make_warnings_file' test type Date: Fri, 29 Mar 2024 08:49:56 -0400 Message-ID: <20240329125009.3093845-23-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240329125009.3093845-1-sashal@kernel.org> References: <20240329125009.3093845-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.4.273 Content-Transfer-Encoding: 8bit From: "Ricardo B. Marliere" [ Upstream commit 07283c1873a4d0eaa0e822536881bfdaea853910 ] The test type "make_warnings_file" should have no mandatory configuration parameters other than the ones required by the "build" test type, because its purpose is to create a file with build warnings that may or may not be used by other subsequent tests. Currently, the only way to use it as a stand-alone test is by setting POWER_CYCLE, CONSOLE, SSH_USER, BUILD_TARGET, TARGET_IMAGE, REBOOT_TYPE and GRUB_MENU. Link: https://lkml.kernel.org/r/20240315-ktest-v2-1-c5c20a75f6a3@marliere.net Cc: John Hawley Signed-off-by: Ricardo B. Marliere Signed-off-by: Steven Rostedt Signed-off-by: Sasha Levin --- tools/testing/ktest/ktest.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 698b99e25f980..d36612c620981 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl @@ -768,6 +768,7 @@ sub set_value { if ($lvalue =~ /^(TEST|BISECT|CONFIG_BISECT)_TYPE(\[.*\])?$/ && $prvalue !~ /^(config_|)bisect$/ && $prvalue !~ /^build$/ && + $prvalue !~ /^make_warnings_file$/ && $buildonly) { # Note if a test is something other than build, then we -- 2.43.0