Skip to content

Commit 65939be

Browse files
[CFL] Interpret PARALLEL_FUZZING as a boolean value (#12655)
The `PARALLEL_FUZZING` environment variable is used to enable parallel fuzzing in CFLite. The variable is always defined by GH Action, but it was not interpreted as a boolean value, so it was always enabled even if the option is set to `false`. Co-authored-by: Vitor Guidi <[email protected]>
1 parent 9b858e0 commit 65939be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/cifuzz/config_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def __init__(self):
129129
self.build_integration_path = (
130130
constants.DEFAULT_EXTERNAL_BUILD_INTEGRATION_PATH)
131131

132-
self.parallel_fuzzing = os.environ.get('PARALLEL_FUZZING')
132+
self.parallel_fuzzing = environment.get_bool('PARALLEL_FUZZING', False)
133133
self.extra_environment_variables = _get_extra_environment_variables()
134134
self.output_sarif = environment.get_bool('OUTPUT_SARIF', False)
135135

0 commit comments

Comments
 (0)