~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/testing/ktest/examples/include/bisect.conf

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #
  2 # This example shows the bisect tests (git bisect and config bisect)
  3 #
  4 
  5 
  6 # The config that includes this file may define a RUN_TEST
  7 # variable that will tell this config what test to run.
  8 # (what to set the TEST option to).
  9 #
 10 DEFAULTS IF NOT DEFINED RUN_TEST
 11 # Requires that hackbench is in the PATH
 12 RUN_TEST := ${SSH} hackbench 50
 13 
 14 
 15 # Set TEST to 'bisect' to do a normal git bisect. You need
 16 # to modify the options below to make it bisect the exact
 17 # commits you are interested in.
 18 #
 19 TEST_START IF ${TEST} == bisect
 20 TEST_TYPE = bisect
 21 # You must set the commit that was considered good (git bisect good)
 22 BISECT_GOOD = v3.3
 23 # You must set the commit that was considered bad (git bisect bad)
 24 BISECT_BAD = HEAD
 25 # It's best to specify the branch to checkout before starting the bisect.
 26 CHECKOUT = origin/master
 27 # This can be build, boot, or test. Here we are doing a bisect
 28 # that requires to run a test to know if the bisect was good or bad.
 29 # The test should exit with 0 on good, non-zero for bad. But see
 30 # the BISECT_RET_* options in samples.conf to override this.
 31 BISECT_TYPE = test
 32 TEST = ${RUN_TEST}
 33 # It is usually a good idea to confirm that the GOOD and the BAD
 34 # commits are truly good and bad respectively. Having BISECT_CHECK
 35 # set to 1 will check both that the good commit works and the bad
 36 # commit fails. If you only want to check one or the other,
 37 # set BISECT_CHECK to 'good' or to 'bad'.
 38 BISECT_CHECK = 1
 39 #BISECT_CHECK = good
 40 #BISECT_CHECK = bad
 41 
 42 # Usually it's a good idea to specify the exact config you
 43 # want to use throughout the entire bisect. Here we placed
 44 # it in the directory we called ktest.pl from and named it
 45 # 'config-bisect'.
 46 MIN_CONFIG = ${THIS_DIR}/config-bisect
 47 # By default, if we are doing a BISECT_TYPE = test run but the
 48 # build or boot fails, ktest.pl will do a 'git bisect skip'.
 49 # Uncomment the below option to make ktest stop testing on such
 50 # an error.
 51 #BISECT_SKIP = 0
 52 # Now if you had BISECT_SKIP = 0 and the test fails, you can
 53 # examine what happened and then do 'git bisect log > /tmp/replay'
 54 # Set BISECT_REPLAY to /tmp/replay and ktest.pl will run the
 55 # 'git bisect replay /tmp/replay' before continuing the bisect test.
 56 #BISECT_REPLAY = /tmp/replay
 57 # If you used BISECT_REPLAY after the bisect test failed, you may
 58 # not want to continue the bisect on that commit that failed.
 59 # By setting BISECT_START to a new commit. ktest.pl will checkout
 60 # that commit after it has performed the 'git bisect replay' but
 61 # before it continues running the bisect test.
 62 #BISECT_START = 2545eb6198e7e1ec50daa0cfc64a4cdfecf24ec9
 63 
 64 # Now if you don't trust ktest.pl to make the decisions for you, then
 65 # set BISECT_MANUAL to 1. This will cause ktest.pl not to decide
 66 # if the commit was good or bad. Instead, it will ask you to tell
 67 # it if the current commit was good. In the mean time, you could
 68 # take the result, load it on any machine you want. Run several tests,
 69 # or whatever you feel like. Then, when you are happy, you can tell
 70 # ktest if you think it was good or not and ktest.pl will continue
 71 # the git bisect. You can even change what commit it is currently at.
 72 #BISECT_MANUAL = 1
 73 
 74 
 75 # One of the unique tests that ktest does is the config bisect.
 76 # Currently (which hopefully will be fixed soon), the bad config
 77 # must be a superset of the good config. This is because it only
 78 # searches for a config that causes the target to fail. If the
 79 # good config is not a subset of the bad config, or if the target
 80 # fails because of a lack of a config, then it will not find
 81 # the config for you.
 82 TEST_START IF ${TEST} == config-bisect
 83 TEST_TYPE = config_bisect
 84 # set to build, boot, test
 85 CONFIG_BISECT_TYPE = boot
 86 # Set the config that is considered bad.
 87 CONFIG_BISECT = ${THIS_DIR}/config-bad
 88 # This config is optional. By default it uses the
 89 # MIN_CONFIG as the good config.
 90 CONFIG_BISECT_GOOD = ${THIS_DIR}/config-good

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php