mirror of https://github.com/google/oss-fuzz.git
[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 <vitorguidi@gmail.com>
This commit is contained in:
parent
9b858e019c
commit
65939bedc7
|
@ -129,7 +129,7 @@ class BaseConfig:
|
||||||
self.build_integration_path = (
|
self.build_integration_path = (
|
||||||
constants.DEFAULT_EXTERNAL_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.extra_environment_variables = _get_extra_environment_variables()
|
||||||
self.output_sarif = environment.get_bool('OUTPUT_SARIF', False)
|
self.output_sarif = environment.get_bool('OUTPUT_SARIF', False)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue