aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Moroz <mmoroz@chromium.org>2020-01-21 15:48:09 -0800
committerGitHub <noreply@github.com>2020-01-21 15:48:09 -0800
commita37f237ca53a688cd4bef71c15c4623aa2b36e74 (patch)
tree55d6a59b8c4c4f6aa48b483453cb2fad747e83e2
parent2c6c6d9785de4d60b81117be3859c64e59b0b6e7 (diff)
downloadoss-fuzz-a37f237ca53a688cd4bef71c15c4623aa2b36e74.tar.gz
[infra] Add fuzzing_engines section for the project.yaml. (#3267)
* [infra] Add fuzzing_engines section for the project.yaml. * Update presubmit.py * Update presubmit.py * Update presubmit.py
-rwxr-xr-xinfra/presubmit.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/infra/presubmit.py b/infra/presubmit.py
index 8d1b60a51..c80de6b8b 100755
--- a/infra/presubmit.py
+++ b/infra/presubmit.py
@@ -74,13 +74,21 @@ class ProjectYamlChecker:
SECTIONS_AND_CONSTANTS = {
'sanitizers': {'address', 'none', 'memory', 'undefined', 'dataflow'},
'architectures': {'i386', 'x86_64'},
- 'engines': {'afl', 'libfuzzer', 'honggfuzz', 'dataflow'}
+ 'fuzzing_engines': {'afl', 'libfuzzer', 'honggfuzz', 'dataflow'}
}
# Note: this list must be updated when we allow new sections.
VALID_SECTION_NAMES = [
- 'homepage', 'primary_contact', 'auto_ccs', 'sanitizers', 'architectures',
- 'disabled', 'view_restrictions', 'coverage_extra_args', 'vendor_ccs'
+ 'architectures',
+ 'auto_ccs',
+ 'coverage_extra_args',
+ 'disabled',
+ 'fuzzing_engines',
+ 'homepage',
+ 'primary_contact',
+ 'sanitizers',
+ 'vendor_ccs',
+ 'view_restrictions',
]
# Note that some projects like boost only have auto-ccs. However, forgetting