From a37f237ca53a688cd4bef71c15c4623aa2b36e74 Mon Sep 17 00:00:00 2001 From: Max Moroz Date: Tue, 21 Jan 2020 15:48:09 -0800 Subject: [PATCH] [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 --- infra/presubmit.py | 14 +++++++++++--- 1 file 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