Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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) <rostedt@goodmis.org>

+2 -2
+1 -1
tools/testing/ktest/ktest.pl
··· 30 30 "EMAIL_WHEN_STARTED" => 0, 31 31 "NUM_TESTS" => 1, 32 32 "TEST_TYPE" => "build", 33 - "BUILD_TYPE" => "randconfig", 33 + "BUILD_TYPE" => "oldconfig", 34 34 "MAKE_CMD" => "make", 35 35 "CLOSE_CONSOLE_SIGNAL" => "INT", 36 36 "TIMEOUT" => 120,
+1 -1
tools/testing/ktest/sample.conf
··· 505 505 #TEST = ssh user@machine /root/run_test 506 506 507 507 # The build type is any make config type or special command 508 - # (default randconfig) 508 + # (default oldconfig) 509 509 # nobuild - skip the clean and build step 510 510 # useconfig:/path/to/config - use the given config and run 511 511 # oldconfig on it.