test.conf 2.0 KB

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