Only instrument changed lines on coverage bot

Bug: b/236797073
Change-Id: I2a371a16e0a41597ae4cfa4510b637c5973bbc4d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/287340
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Reviewed-by: Jeremy Leconte <jleconte@google.com>
Cr-Commit-Position: refs/heads/main@{#38872}
This commit is contained in:
Björn Terelius 2022-12-09 17:25:54 +01:00 committed by WebRTC LUCI CQ
parent 29464b06c5
commit 7ff599b753

View File

@ -260,8 +260,10 @@
['android', 'debug_static_bot', 'arm', 'bwe_test_logging'],
'bwe_test_logging_x64': ['debug_bot', 'x64', 'bwe_test_logging'],
'bwe_test_logging_x86': ['debug_bot', 'x86', 'bwe_test_logging'],
'code_coverage_bot_x64':
['openh264', 'release_bot', 'x64', 'code_coverage'],
'code_coverage_bot_x64': [
'openh264', 'release_bot', 'x64', 'code_coverage',
'partial_code_coverage_instrumentation'
],
'codesearch_gen_linux_bot': ['openh264', 'debug_bot', 'minimal_symbols'],
'debug_bot_arm': ['openh264', 'debug_bot', 'arm'],
'debug_bot_arm64': ['openh264', 'debug_bot', 'arm64'],
@ -474,6 +476,10 @@
'optimize_for_fuzzing': {
'gn_args': 'optimize_for_fuzzing=true',
},
'partial_code_coverage_instrumentation': {
'gn_args':
'coverage_instrumentation_input_file="//.code-coverage/files_to_instrument.txt"'
},
# The 'pure_release_bot' configuration is for release bots that are doing a
# 100% release build without DCHECKs while 'release_bot' is a partial
# release configs since `dcheck_always_on` is set to true.