aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/ktest/ktest.pl7
-rw-r--r--tools/testing/ktest/sample.conf7
2 files changed, 11 insertions, 3 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 8d02ccb10c59..e087cb411c9b 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -2929,6 +2929,13 @@ for (my $i = 1; $i <= $opt{"NUM_TESTS"}; $i++) {
2929 build $build_type or next; 2929 build $build_type or next;
2930 } 2930 }
2931 2931
2932 if ($test_type eq "install") {
2933 get_version;
2934 install;
2935 success $i;
2936 next;
2937 }
2938
2932 if ($test_type ne "build") { 2939 if ($test_type ne "build") {
2933 my $failed = 0; 2940 my $failed = 0;
2934 start_monitor_and_boot or $failed = 1; 2941 start_monitor_and_boot or $failed = 1;
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf
index b8bcd14b5a4d..eadca3eb6f5a 100644
--- a/tools/testing/ktest/sample.conf
+++ b/tools/testing/ktest/sample.conf
@@ -253,9 +253,10 @@
253 253
254# The default test type (default test) 254# The default test type (default test)
255# The test types may be: 255# The test types may be:
256# build - only build the kernel, do nothing else 256# build - only build the kernel, do nothing else
257# boot - build and boot the kernel 257# install - build and install, but do nothing else (does not reboot)
258# test - build, boot and if TEST is set, run the test script 258# boot - build, install, and boot the kernel
259# test - build, boot and if TEST is set, run the test script
259# (If TEST is not set, it defaults back to boot) 260# (If TEST is not set, it defaults back to boot)
260# bisect - Perform a bisect on the kernel (see BISECT_TYPE below) 261# bisect - Perform a bisect on the kernel (see BISECT_TYPE below)
261# patchcheck - Do a test on a series of commits in git (see PATCHCHECK below) 262# patchcheck - Do a test on a series of commits in git (see PATCHCHECK below)