Skip to content

Commit 07283c1

Browse files
rbmarliererostedt
authored andcommitted
ktest: force $buildonly = 1 for 'make_warnings_file' test type
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/[email protected] Cc: John Hawley <[email protected]> Signed-off-by: Ricardo B. Marliere <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
1 parent ca8edb7 commit 07283c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/testing/ktest/ktest.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,7 @@ sub set_value {
847847
if ($lvalue =~ /^(TEST|BISECT|CONFIG_BISECT)_TYPE(\[.*\])?$/ &&
848848
$prvalue !~ /^(config_|)bisect$/ &&
849849
$prvalue !~ /^build$/ &&
850+
$prvalue !~ /^make_warnings_file$/ &&
850851
$buildonly) {
851852

852853
# Note if a test is something other than build, then we

0 commit comments

Comments
 (0)