Skip to content

Commit

Permalink
[CFL] Interpret PARALLEL_FUZZING as a boolean value (#12655)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
kateinoigakukun and vitorguidi authored Oct 31, 2024
1 parent 9b858e0 commit 65939be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/cifuzz/config_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def __init__(self):
self.build_integration_path = (
constants.DEFAULT_EXTERNAL_BUILD_INTEGRATION_PATH)

self.parallel_fuzzing = os.environ.get('PARALLEL_FUZZING')
self.parallel_fuzzing = environment.get_bool('PARALLEL_FUZZING', False)
self.extra_environment_variables = _get_extra_environment_variables()
self.output_sarif = environment.get_bool('OUTPUT_SARIF', False)

Expand Down

0 comments on commit 65939be

Please sign in to comment.