Skip to content

Commit 791dc9d

Browse files
committed
ktest: Make default build option oldconfig not randconfig
For the last time, I screwed up my ktest config file, and the build went into the default "randconfig", blowing away the .config that I had set up. The reason for the default randconfig was because when this was first written, I wanted to do a bunch of randconfigs. But as time progressed, ktest isn't about randconfig anymore, and because randconfig destroys the config in the build directory, it's a dangerous default to have. Use oldconfig as the default. Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent afbac6c commit 791dc9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/testing/ktest/ktest.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"EMAIL_WHEN_STARTED" => 0,
3131
"NUM_TESTS" => 1,
3232
"TEST_TYPE" => "build",
33-
"BUILD_TYPE" => "randconfig",
33+
"BUILD_TYPE" => "oldconfig",
3434
"MAKE_CMD" => "make",
3535
"CLOSE_CONSOLE_SIGNAL" => "INT",
3636
"TIMEOUT" => 120,

tools/testing/ktest/sample.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@
505505
#TEST = ssh user@machine /root/run_test
506506

507507
# The build type is any make config type or special command
508-
# (default randconfig)
508+
# (default oldconfig)
509509
# nobuild - skip the clean and build step
510510
# useconfig:/path/to/config - use the given config and run
511511
# oldconfig on it.

0 commit comments

Comments
 (0)