aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/cifuzz/cifuzz.py
diff options
context:
space:
mode:
Diffstat (limited to 'infra/cifuzz/cifuzz.py')
-rw-r--r--infra/cifuzz/cifuzz.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/infra/cifuzz/cifuzz.py b/infra/cifuzz/cifuzz.py
index e4af7f31..f4f4ea24 100644
--- a/infra/cifuzz/cifuzz.py
+++ b/infra/cifuzz/cifuzz.py
@@ -146,6 +146,8 @@ class Builder: # pylint: disable=too-many-instance-attributes
def remove_unaffected_fuzz_targets(self):
"""Removes the fuzzers unaffected by the patch."""
+ if self.config.keep_unaffected_fuzz_targets:
+ return True
changed_files = self.ci_system.get_changed_code_under_test(
self.repo_manager)
affected_fuzz_targets.remove_unaffected_fuzz_targets(