Set PROJECT_NAME env and update download_corpora_step() (#7873)

This commit is contained in:
Navidem 2022-06-15 21:19:08 -05:00 committed by GitHub
parent 3ad57541c1
commit 8988e2b8d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -111,8 +111,7 @@ def get_build_steps( # pylint: disable=too-many-locals, too-many-arguments
env = build_project.get_env(project.fuzzing_language, build)
build_steps.append(
build_project.get_compile_step(project, build, env, config.parallel))
download_corpora_steps = build_lib.download_corpora_steps(
project.name, testing=config.testing)
download_corpora_steps = build_lib.download_corpora_steps(project.name)
if not download_corpora_steps:
logging.info('Skipping code coverage build for %s.', project.name)
return []
@ -348,6 +347,7 @@ def get_fuzz_introspector_steps( # pylint: disable=too-many-locals, too-many-ar
env.append(f'GIT_REPO={project.main_repo}')
env.append(f'COVERAGE_URL={coverage_url}')
env.append(f'PROJECT_NAME={project.name}')
build_steps.append(
build_project.get_compile_step(project, build, env, config.parallel))