Add support of the specifier '%e' (executable filename) to the LLVM_PROFILE_FILE
@@ -576,14 +576,15 @@ module BASE_PROGRAM: LINK_UNIT {
when ($SANITIZER_DEFINED == "yes") {
PEERDIR += contrib/libs/cxxsupp/libsan
}
+
+ when ($CLANG_COVERAGE && $CLANG_COVERAGE != "no") {
+ PEERDIR+=library/testing/dump_clang_coverage
+ }
}
### @usage PROGRAM ([progname])
### @brief Project Definition-Program. You can not specify a name, then it will be formed from the name of the containing project directory.
module PROGRAM: BASE_PROGRAM {
- when ($CLANG_COVERAGE && $CLANG_COVERAGE != "no") {
- PEERDIR+=library/testing/dump_clang_coverage
- }
ADD_YTEST($REALPRJNAME coverage.extractor)
}
@@ -594,18 +595,12 @@ module PROGRAM: BASE_PROGRAM {
module PY_PROGRAM: BASE_PY_PROGRAM {
# Look's like we cannot avoid copy-paste util ymake supports multiple inheritance
# We need to attach coverage.extractor to every py_program target, except pytest targets
- when ($CLANG_COVERAGE && $CLANG_COVERAGE != "no") {
- PEERDIR+=library/testing/dump_clang_coverage
- }
ADD_YTEST($REALPRJNAME coverage.extractor)
}
module PY3_PROGRAM: BASE_PY3_PROGRAM {
# Look's like we cannot avoid copy-paste util ymake supports multiple inheritance
# We need to attach coverage.extractor to every py_program target, except pytest targets
- when ($CLANG_COVERAGE && $CLANG_COVERAGE != "no") {
- PEERDIR+=library/testing/dump_clang_coverage
- }
ADD_YTEST($REALPRJNAME coverage.extractor)
}
