diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-06-14 20:46:25 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-06-14 20:46:25 -0400 |
commit | 1990207d538885e678f374e3e79f454c2e6c7383 (patch) | |
tree | 3259b03dc8f5bbe76a13af9add91fb4a68fdfd5b /tools/testing/ktest/sample.conf | |
parent | e7b13441895fd0f95c34a004eed364524cca71cb (diff) |
ktest: Add IGNORE_WARNINGS to ignore warnings in some patches
Doing a patchcheck test, there may be warnings that gcc produces which
may be OK, and the test should not fail on that commit. By adding a
IGNORE_WARNINGS option to list a space delimited SHA1s that are ignored
lets the user avoid having the test fail on certain commits.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r-- | tools/testing/ktest/sample.conf | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf index e2d8d8338e9a..82c966c32d61 100644 --- a/tools/testing/ktest/sample.conf +++ b/tools/testing/ktest/sample.conf | |||
@@ -604,7 +604,12 @@ | |||
604 | # build, boot, test. | 604 | # build, boot, test. |
605 | # | 605 | # |
606 | # Note, the build test will look for warnings, if a warning occurred | 606 | # Note, the build test will look for warnings, if a warning occurred |
607 | # in a file that a commit touches, the build will fail. | 607 | # in a file that a commit touches, the build will fail, unless |
608 | # IGNORE_WARNINGS is set for the given commit's sha1 | ||
609 | # | ||
610 | # IGNORE_WARNINGS can be used to disable the failure of patchcheck | ||
611 | # on a particuler commit (SHA1). You can add more than one commit | ||
612 | # by adding a list of SHA1s that are space delimited. | ||
608 | # | 613 | # |
609 | # If BUILD_NOCLEAN is set, then make mrproper will not be run on | 614 | # If BUILD_NOCLEAN is set, then make mrproper will not be run on |
610 | # any of the builds, just like all other TEST_TYPE tests. But | 615 | # any of the builds, just like all other TEST_TYPE tests. But |
@@ -619,6 +624,7 @@ | |||
619 | # PATCHCHECK_TYPE = boot | 624 | # PATCHCHECK_TYPE = boot |
620 | # PATCHCHECK_START = 747e94ae3d1b4c9bf5380e569f614eb9040b79e7 | 625 | # PATCHCHECK_START = 747e94ae3d1b4c9bf5380e569f614eb9040b79e7 |
621 | # PATCHCHECK_END = HEAD~2 | 626 | # PATCHCHECK_END = HEAD~2 |
627 | # IGNORE_WARNINGS = 42f9c6b69b54946ffc0515f57d01dc7f5c0e4712 0c17ca2c7187f431d8ffc79e81addc730f33d128 | ||
622 | # | 628 | # |
623 | # | 629 | # |
624 | # | 630 | # |