Skip to content

Commit 0bf52be

Browse files
authored
Feature/coverage clang versions (#622)
* pick the clang version in question from the envirnoment * add alternative locations to search * add alternative locations to search * make sure its set - wintendo doesn't by default
1 parent e5a8bd2 commit 0bf52be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: jenkins/helper/aggregate_coverage.py

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
from site_config import SiteConfig
2424

25+
if not 'CLANG_VERSION' in os.environ:
26+
os.environ['CLANG_VERSION'] = ''
2527
LLVM_COV = Path(f"/usr/lib/llvm-{os.environ['CLANG_VERSION']}/bin/llvm-cov")
2628
if not LLVM_COV.exists():
2729
LLVM_COV = Path("/usr/lib/llvm/bin/llvm-cov")

0 commit comments

Comments
 (0)