mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 1416743 - Pass '--llvm' argument to grcov on Windows. r=jmaher
The Windows code coverage build is using LLVM, so we need to tell grcov that the artifacts are in the LLVM format. --HG-- extra : rebase_source : 8507ce4e3614b24275350e48a761fd8a129e0e39
This commit is contained in:
parent
27407e68ed
commit
fcd6d8d77b
@ -180,6 +180,9 @@ class CodeCoverageMixin(object):
|
||||
os.path.join(self.grcov_dir, 'target.code-coverage-gcno.zip'), file_path_gcda
|
||||
]
|
||||
|
||||
if mozinfo.os == 'win':
|
||||
grcov_command += ['--llvm']
|
||||
|
||||
# 'grcov_output' will be a tuple, the first variable is the path to the lcov output,
|
||||
# the other is the path to the standard error output.
|
||||
grcov_output, _ = self.get_output_from_command(
|
||||
|
Loading…
Reference in New Issue
Block a user