[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
This commit is contained in:
Max Moroz 2020-01-21 15:48:09 -08:00 committed by GitHub
parent 2c6c6d9785
commit a37f237ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 3 deletions

View File

@ -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