0001 #
0002 # Generic config for a machine
0003 #
0004
0005 # Name your machine (the DNS name, what you ssh to)
0006 MACHINE = foo
0007
0008 # BOX can be different than foo, if the machine BOX has
0009 # multiple partitions with different systems installed. For example,
0010 # you may have a i386 and x86_64 installation on a test box.
0011 # If this is the case, MACHINE defines the way to connect to the
0012 # machine, which may be different between which system the machine
0013 # is booting into. BOX is used for the scripts to reboot and power cycle
0014 # the machine, where it does not matter which system the machine boots into.
0015 #
0016 #BOX := bar
0017
0018 # Define a way to read the console
0019 CONSOLE = stty -F /dev/ttyS0 115200 parodd; cat /dev/ttyS0
0020
0021 # The include files will set up the type of test to run. Just set TEST to
0022 # which test you want to run.
0023 #
0024 # TESTS = patchcheck, randconfig, boot, test, config-bisect, bisect, min-config
0025 #
0026 # See the include/*.conf files that define these tests
0027 #
0028 TEST := patchcheck
0029
0030 # Some tests may have more than one test to run. Define MULTI := 1 to run
0031 # the extra tests.
0032 MULTI := 0
0033
0034 # In case you want to differentiate which type of system you are testing
0035 BITS := 64
0036
0037 # REBOOT = none, error, fail, empty
0038 # See include/defaults.conf
0039 REBOOT := empty
0040
0041 # The defaults file will set up various settings that can be used by all
0042 # machine configs.
0043 INCLUDE include/defaults.conf
0044
0045 # In case you need to add a patch for a bisect or something
0046 #PRE_BUILD = patch -p1 < ${THIS_DIR}/fix.patch
0047
0048 # Reset the repo after the build and remove all 'test' modules from the target
0049 # Notice that DO_POST_BUILD is a variable (defined by ':=') and POST_BUILD
0050 # is the option (defined by '=')
0051
0052 DO_POST_BUILD := git reset --hard
0053 POST_BUILD = ${SSH} 'rm -rf /lib/modules/*-test*'; ${DO_POST_BUILD}
0054
0055 # The following files each handle a different test case.
0056 # Having them included allows you to set up more than one machine and share
0057 # the same tests.
0058 INCLUDE include/patchcheck.conf
0059 INCLUDE include/tests.conf
0060 INCLUDE include/bisect.conf
0061 INCLUDE include/min-config.conf
0062