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 8A84D1448EF; Thu, 11 Apr 2024 10:11:45 +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=1712830305; cv=none; b=YGRZ578xoNUkN8c3tK4gYf3+OZxQcDK2wJ9YYJX/pB69TFeAJbNjOxABPAf0xyJPSfyJiP6Rawd/8MS0djL6+ElMQosAdVw6kyavf/+1nEGYvgVCSUvbMmAKPdRdwGA9PVl7qOWB/ZNxDHuKh/bCJwaEiRGvyCEvndLK/J2EhpQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712830305; c=relaxed/simple; bh=JR5wIAvHe1wcOBxAKaOoH/zTjZxQenBv5OKhhV0bUmk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JRb/BxN+hCDBlMI3znMM1fPmu6GfQn2o5TsHJzAui9fyB0mm2JzTfp5sUR3960x8DPdFN0cUbYmzUOe9yyMz4kgVC48dGCEicTlFg1Ww/8s0qsZYr7Zrpi7gBXjlg+nlzIm1EcqvTdIYO8kj9s8/gvswPsM3V222XfARj54cEQo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WPgUTd6E; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WPgUTd6E" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9ADAC43390; Thu, 11 Apr 2024 10:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712830305; bh=JR5wIAvHe1wcOBxAKaOoH/zTjZxQenBv5OKhhV0bUmk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WPgUTd6Eb1et9RK7obD092cgaXI0paLofcIJV4oXZPPnrTeVtPHYfZ6HwE2xI9q6y MVBY/mweFmnQ+lvf3L93rIIyy50yN2ZZq/eoVHGv8q3be0hn55hqy/wlO6IE/7xHDl NCqCcTpPGFsMxXUDaXj0d0Tif887U1qjo01Wy6Gk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, John Hawley , "Ricardo B. Marliere" , Steven Rostedt , Sasha Levin Subject: [PATCH 6.8 105/143] ktest: force $buildonly = 1 for make_warnings_file test type Date: Thu, 11 Apr 2024 11:56:13 +0200 Message-ID: <20240411095424.067420861@linuxfoundation.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240411095420.903937140@linuxfoundation.org> References: <20240411095420.903937140@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.8-stable review patch. If anyone has any objections, please let me know. ------------------ 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 829f5bdfd2e43..24451f8f42910 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl @@ -843,6 +843,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