From 65939bedc7882f4a251c322946fa7cf72f5372c8 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Fri, 1 Nov 2024 02:07:15 +0900 Subject: [PATCH] [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 --- infra/cifuzz/config_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/cifuzz/config_utils.py b/infra/cifuzz/config_utils.py index 767010e9a..a4a3cb8f7 100644 --- a/infra/cifuzz/config_utils.py +++ b/infra/cifuzz/config_utils.py @@ -129,7 +129,7 @@ class BaseConfig: 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)