Path: blob/master/tools/testing/ktest/examples/test.conf
26296 views
#1# Generic config for a machine2#34# Name your machine (the DNS name, what you ssh to)5MACHINE = foo67# BOX can be different than foo, if the machine BOX has8# multiple partitions with different systems installed. For example,9# you may have a i386 and x86_64 installation on a test box.10# If this is the case, MACHINE defines the way to connect to the11# machine, which may be different between which system the machine12# is booting into. BOX is used for the scripts to reboot and power cycle13# the machine, where it does not matter which system the machine boots into.14#15#BOX := bar1617# Define a way to read the console18CONSOLE = stty -F /dev/ttyS0 115200 parodd; cat /dev/ttyS01920# The include files will set up the type of test to run. Just set TEST to21# which test you want to run.22#23# TESTS = patchcheck, randconfig, boot, test, config-bisect, bisect, min-config24#25# See the include/*.conf files that define these tests26#27TEST := patchcheck2829# Some tests may have more than one test to run. Define MULTI := 1 to run30# the extra tests.31MULTI := 03233# In case you want to differentiate which type of system you are testing34BITS := 643536# REBOOT = none, error, fail, empty37# See include/defaults.conf38REBOOT := empty3940# The defaults file will set up various settings that can be used by all41# machine configs.42INCLUDE include/defaults.conf4344# In case you need to add a patch for a bisect or something45#PRE_BUILD = patch -p1 < ${THIS_DIR}/fix.patch4647# Reset the repo after the build and remove all 'test' modules from the target48# Notice that DO_POST_BUILD is a variable (defined by ':=') and POST_BUILD49# is the option (defined by '=')5051DO_POST_BUILD := git reset --hard52POST_BUILD = ${SSH} 'rm -rf /lib/modules/*-test*'; ${DO_POST_BUILD}5354# The following files each handle a different test case.55# Having them included allows you to set up more than one machine and share56# the same tests.57INCLUDE include/patchcheck.conf58INCLUDE include/tests.conf59INCLUDE include/bisect.conf60INCLUDE include/min-config.conf61626364