1 # 1 # 2 # Generic config for a machine 2 # Generic config for a machine 3 # 3 # 4 4 5 # Name your machine (the DNS name, what you ss 5 # Name your machine (the DNS name, what you ssh to) 6 MACHINE = foo 6 MACHINE = foo 7 7 8 # BOX can be different than foo, if the machin 8 # BOX can be different than foo, if the machine BOX has 9 # multiple partitions with different systems i 9 # multiple partitions with different systems installed. For example, 10 # you may have a i386 and x86_64 installation 10 # you may have a i386 and x86_64 installation on a test box. 11 # If this is the case, MACHINE defines the way 11 # If this is the case, MACHINE defines the way to connect to the 12 # machine, which may be different between whic 12 # machine, which may be different between which system the machine 13 # is booting into. BOX is used for the scripts 13 # is booting into. BOX is used for the scripts to reboot and power cycle 14 # the machine, where it does not matter which 14 # the machine, where it does not matter which system the machine boots into. 15 # 15 # 16 #BOX := bar 16 #BOX := bar 17 17 18 # Define a way to read the console 18 # Define a way to read the console 19 CONSOLE = stty -F /dev/ttyS0 115200 parodd; ca 19 CONSOLE = stty -F /dev/ttyS0 115200 parodd; cat /dev/ttyS0 20 20 21 # The include files will set up the type of te 21 # The include files will set up the type of test to run. Just set TEST to 22 # which test you want to run. 22 # which test you want to run. 23 # 23 # 24 # TESTS = patchcheck, randconfig, boot, test, 24 # TESTS = patchcheck, randconfig, boot, test, config-bisect, bisect, min-config 25 # 25 # 26 # See the include/*.conf files that define the 26 # See the include/*.conf files that define these tests 27 # 27 # 28 TEST := patchcheck 28 TEST := patchcheck 29 29 30 # Some tests may have more than one test to ru 30 # Some tests may have more than one test to run. Define MULTI := 1 to run 31 # the extra tests. 31 # the extra tests. 32 MULTI := 0 32 MULTI := 0 33 33 34 # In case you want to differentiate which type 34 # In case you want to differentiate which type of system you are testing 35 BITS := 64 35 BITS := 64 36 36 37 # REBOOT = none, error, fail, empty 37 # REBOOT = none, error, fail, empty 38 # See include/defaults.conf 38 # See include/defaults.conf 39 REBOOT := empty 39 REBOOT := empty 40 40 41 # The defaults file will set up various settin 41 # The defaults file will set up various settings that can be used by all 42 # machine configs. 42 # machine configs. 43 INCLUDE include/defaults.conf 43 INCLUDE include/defaults.conf 44 44 45 # In case you need to add a patch for a bisect 45 # In case you need to add a patch for a bisect or something 46 #PRE_BUILD = patch -p1 < ${THIS_DIR}/fix.patch 46 #PRE_BUILD = patch -p1 < ${THIS_DIR}/fix.patch 47 47 48 # Reset the repo after the build and remove al 48 # Reset the repo after the build and remove all 'test' modules from the target 49 # Notice that DO_POST_BUILD is a variable (def 49 # Notice that DO_POST_BUILD is a variable (defined by ':=') and POST_BUILD 50 # is the option (defined by '=') 50 # is the option (defined by '=') 51 51 52 DO_POST_BUILD := git reset --hard 52 DO_POST_BUILD := git reset --hard 53 POST_BUILD = ${SSH} 'rm -rf /lib/modules/*-tes 53 POST_BUILD = ${SSH} 'rm -rf /lib/modules/*-test*'; ${DO_POST_BUILD} 54 54 55 # The following files each handle a different 55 # The following files each handle a different test case. 56 # Having them included allows you to set up mo 56 # Having them included allows you to set up more than one machine and share 57 # the same tests. 57 # the same tests. 58 INCLUDE include/patchcheck.conf 58 INCLUDE include/patchcheck.conf 59 INCLUDE include/tests.conf 59 INCLUDE include/tests.conf 60 INCLUDE include/bisect.conf 60 INCLUDE include/bisect.conf 61 INCLUDE include/min-config.conf 61 INCLUDE include/min-config.conf 62 62
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.