diff options
Diffstat (limited to 'tools/testing/ktest/sample.conf')
| -rw-r--r-- | tools/testing/ktest/sample.conf | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf index 3408c594b2de..4c5d6bd74a02 100644 --- a/tools/testing/ktest/sample.conf +++ b/tools/testing/ktest/sample.conf | |||
| @@ -306,6 +306,14 @@ | |||
| 306 | # (default 60) | 306 | # (default 60) |
| 307 | #STOP_AFTER_FAILURE = 60 | 307 | #STOP_AFTER_FAILURE = 60 |
| 308 | 308 | ||
| 309 | # In case the console constantly fills the screen, having | ||
| 310 | # a specified time to stop the test if it never succeeds nor fails | ||
| 311 | # is recommended. | ||
| 312 | # Note: this is ignored if a success or failure is detected. | ||
| 313 | # (in seconds) | ||
| 314 | # (default 600, -1 is to never stop) | ||
| 315 | #STOP_TEST_AFTER = 600 | ||
| 316 | |||
| 309 | # Stop testing if a build fails. If set, the script will end if | 317 | # Stop testing if a build fails. If set, the script will end if |
| 310 | # a failure is detected, otherwise it will save off the .config, | 318 | # a failure is detected, otherwise it will save off the .config, |
| 311 | # dmesg and bootlog in a directory called | 319 | # dmesg and bootlog in a directory called |
| @@ -519,6 +527,24 @@ | |||
| 519 | # git bisect good, git bisect bad, and running the git bisect replay | 527 | # git bisect good, git bisect bad, and running the git bisect replay |
| 520 | # if the BISECT_REPLAY is set. | 528 | # if the BISECT_REPLAY is set. |
| 521 | # | 529 | # |
| 530 | # BISECT_SKIP = 1 (optional, default 0) | ||
| 531 | # | ||
| 532 | # If BISECT_TYPE is set to test but the build fails, ktest will | ||
| 533 | # simply fail the test and end their. You could use BISECT_REPLAY | ||
| 534 | # and BISECT_START to resume after you found a new starting point, | ||
| 535 | # or you could set BISECT_SKIP to 1. If BISECT_SKIP is set to 1, | ||
| 536 | # when something other than the BISECT_TYPE fails, ktest.pl will | ||
| 537 | # run "git bisect skip" and try again. | ||
| 538 | # | ||
| 539 | # BISECT_FILES = <path> (optional, default undefined) | ||
| 540 | # | ||
| 541 | # To just run the git bisect on a specific path, set BISECT_FILES. | ||
| 542 | # For example: | ||
| 543 | # | ||
| 544 | # BISECT_FILES = arch/x86 kernel/time | ||
| 545 | # | ||
| 546 | # Will run the bisect with "git bisect start -- arch/x86 kernel/time" | ||
| 547 | # | ||
| 522 | # BISECT_REVERSE = 1 (optional, default 0) | 548 | # BISECT_REVERSE = 1 (optional, default 0) |
| 523 | # | 549 | # |
| 524 | # In those strange instances where it was broken forever | 550 | # In those strange instances where it was broken forever |
| @@ -528,6 +554,15 @@ | |||
| 528 | # With BISECT_REVERSE = 1, The test will consider failures as | 554 | # With BISECT_REVERSE = 1, The test will consider failures as |
| 529 | # good, and success as bad. | 555 | # good, and success as bad. |
| 530 | # | 556 | # |
| 557 | # BISECT_MANUAL = 1 (optional, default 0) | ||
| 558 | # | ||
| 559 | # In case there's a problem with automating the bisect for | ||
| 560 | # whatever reason. (Can't reboot, want to inspect each iteration) | ||
| 561 | # Doing a BISECT_MANUAL will have the test wait for you to | ||
| 562 | # tell it if the test passed or failed after each iteration. | ||
| 563 | # This is basicall the same as running git bisect yourself | ||
| 564 | # but ktest will rebuild and install the kernel for you. | ||
| 565 | # | ||
| 531 | # BISECT_CHECK = 1 (optional, default 0) | 566 | # BISECT_CHECK = 1 (optional, default 0) |
| 532 | # | 567 | # |
| 533 | # Just to be sure the good is good and bad is bad, setting | 568 | # Just to be sure the good is good and bad is bad, setting |
| @@ -613,10 +648,17 @@ | |||
| 613 | # | 648 | # |
| 614 | # CONFIG_BISECT is the config that failed to boot | 649 | # CONFIG_BISECT is the config that failed to boot |
| 615 | # | 650 | # |
| 651 | # If BISECT_MANUAL is set, it will pause between iterations. | ||
| 652 | # This is useful to use just ktest.pl just for the config bisect. | ||
| 653 | # If you set it to build, it will run the bisect and you can | ||
| 654 | # control what happens in between iterations. It will ask you if | ||
| 655 | # the test succeeded or not and continue the config bisect. | ||
| 656 | # | ||
| 616 | # Example: | 657 | # Example: |
| 617 | # TEST_START | 658 | # TEST_START |
| 618 | # TEST_TYPE = config_bisect | 659 | # TEST_TYPE = config_bisect |
| 619 | # CONFIG_BISECT_TYPE = build | 660 | # CONFIG_BISECT_TYPE = build |
| 620 | # CONFIG_BISECT = /home/test/˘onfig-bad | 661 | # CONFIG_BISECT = /home/test/˘onfig-bad |
| 621 | # MIN_CONFIG = /home/test/config-min | 662 | # MIN_CONFIG = /home/test/config-min |
| 663 | # BISECT_MANUAL = 1 | ||
| 622 | # | 664 | # |
