Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475## This is an example of various tests that you can run## The variable TEST can be of boot, build, randconfig, or test.## Note that TEST is a variable created with ':=' and only exists# throughout the config processing (not during the tests itself).## The TEST option (defined with '=') is used to tell ktest.pl# what test to run after a successful boot. The TEST option is# persistent into the test runs.#
# The config that includes this file may define a BOOT_TYPE# variable that tells this config what type of boot test to run.# If it's not defined, the below DEFAULTS will set the default# to 'oldconfig'.#DEFAULTS IF NOT DEFINED BOOT_TYPEBOOT_TYPE := oldconfig
# The config that includes this file may define a RUN_TEST# variable that will tell this config what test to run.# (what to set the TEST option to).#DEFAULTS IF NOT DEFINED RUN_TEST# Requires that hackbench is in the PATHRUN_TEST := ${SSH} hackbench 50
# If TEST is set to 'boot' then just build a kernel and boot# the target.TEST_START IF ${TEST} == bootTEST_TYPE = boot# Notice how we set the BUILD_TYPE option to the BOOT_TYPE variable.BUILD_TYPE = ${BOOT_TYPE}# Do not do a make mrproper.BUILD_NOCLEAN = 1
# If you only want to build the kernel, and perhaps install# and test it yourself, then just set TEST to build.TEST_START IF ${TEST} == buildTEST_TYPE = buildBUILD_TYPE = ${BOOT_TYPE}BUILD_NOCLEAN = 1
# Build, install, boot and test with a randconfg 10 times.# It is important that you have set MIN_CONFIG in the config# that includes this file otherwise it is likely that the# randconfig will not have the necessary configs needed to# boot your box. This version of the test requires a min# config that has enough to make sure the target has network# working.TEST_START ITERATE 10 IF ${TEST} == randconfigMIN_CONFIG = ${CONFIG_DIR}/config-min-netTEST_TYPE = testBUILD_TYPE = randconfigTEST = ${RUN_TEST}
# This is the same as above, but only tests to a boot prompt.# The MIN_CONFIG used here does not need to have networking# working.TEST_START ITERATE 10 IF ${TEST} == randconfig && ${MULTI}TEST_TYPE = bootBUILD_TYPE = randconfigMIN_CONFIG = ${CONFIG_DIR}/config-minMAKE_CMD = make
# This builds, installs, boots and tests the target.TEST_START IF ${TEST} == testTEST_TYPE = testBUILD_TYPE = ${BOOT_TYPE}TEST = ${RUN_TEST}BUILD_NOCLEAN = 1