[infra] Change language attribute from "cpp" to "c++" in build scripts. (#3493)

* [infra] Change language attribute from "cpp" to "c++" in coverage job runner.

Should've done this in https://github.com/google/oss-fuzz/pull/3477. Good news is that nothing failed, the coverage job was just skipped for pretty much all projects.

* also remove default value from build_project script
This commit is contained in:
Max Moroz 2020-03-12 09:06:46 -07:00 committed by GitHub
parent fc05e61826
commit 130710d518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,7 @@ LATEST_REPORT_INFO_CONTENT_TYPE = 'application/json'
UPLOAD_URL_FORMAT = 'gs://' + COVERAGE_BUCKET_NAME + '/{project}/{type}/{date}'
# Languages from project.yaml that have code coverage support.
LANGUAGES_WITH_COVERAGE_SUPPORT = ['c', 'cpp']
LANGUAGES_WITH_COVERAGE_SUPPORT = ['c', 'c++']
def skip_build(message):

View File

@ -61,7 +61,6 @@ def load_project_yaml(project_dir):
project_yaml.setdefault('run_tests', True)
project_yaml.setdefault('coverage_extra_args', '')
project_yaml.setdefault('labels', {})
project_yaml.setdefault('language', 'cpp')
return project_yaml