brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · b725210 Raw
63 lines · plain
1#2# Generic config for a machine3#4 5# Name your machine (the DNS name, what you ssh to)6MACHINE = foo7 8# BOX can be different than foo, if the machine BOX has9# multiple partitions with different systems installed. For example,10# you may have a i386 and x86_64 installation on a test box.11# If this is the case, MACHINE defines the way to connect to the12# machine, which may be different between which system the machine13# is booting into. BOX is used for the scripts to reboot and power cycle14# the machine, where it does not matter which system the machine boots into.15#16#BOX := bar17 18# Define a way to read the console19CONSOLE = stty -F /dev/ttyS0 115200 parodd; cat /dev/ttyS020 21# The include files will set up the type of test to run. Just set TEST to22# which test you want to run.23#24# TESTS = patchcheck, randconfig, boot, test, config-bisect, bisect, min-config25#26# See the include/*.conf files that define these tests27#28TEST := patchcheck29 30# Some tests may have more than one test to run. Define MULTI := 1 to run31# the extra tests.32MULTI := 033 34# In case you want to differentiate which type of system you are testing35BITS := 6436 37# REBOOT = none, error, fail, empty38#  See include/defaults.conf39REBOOT := empty40 41# The defaults file will set up various settings that can be used by all42# machine configs.43INCLUDE include/defaults.conf44 45# In case you need to add a patch for a bisect or something46#PRE_BUILD = patch -p1 < ${THIS_DIR}/fix.patch47 48# Reset the repo after the build and remove all 'test' modules from the target49# Notice that DO_POST_BUILD is a variable (defined by ':=') and POST_BUILD50# is the option (defined by '=')51 52DO_POST_BUILD := git reset --hard53POST_BUILD = ${SSH} 'rm -rf /lib/modules/*-test*'; ${DO_POST_BUILD}54 55# The following files each handle a different test case.56# Having them included allows you to set up more than one machine and share57# the same tests.58INCLUDE include/patchcheck.conf59INCLUDE include/tests.conf60INCLUDE include/bisect.conf61INCLUDE include/min-config.conf62 63