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:
Marco Castelluccio 2017-11-15 10:02:59 +01:00
parent 27407e68ed
commit fcd6d8d77b

View File

@ -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(