aboutsummaryrefslogtreecommitdiffstats
path: root/build/hv-collector-coverage
diff options
context:
space:
mode:
authorIzabela Zawadzka <izabela.zawadzka@nokia.com>2019-07-25 17:36:42 +0200
committerIzabela Zawadzka <izabela.zawadzka@nokia.com>2019-07-25 17:36:42 +0200
commit0c8e1f8d04c68cc4b785df38410986e3b20564fe (patch)
treeacc8e594886b20525c98ea3f5f834f8ef9aa82f0 /build/hv-collector-coverage
parent2b6696e220e8f97098bd74d97cfdbb477a14429c (diff)
Fix build failure in coverage module
xpath command had to be replaced as the versions available for CentOs 7 dont support used options Signed-off-by: Izabela Zawadzka <izabela.zawadzka@nokia.com> Issue-ID: DCAEGEN2-1687 Change-Id: I0b9ee73982fa9a348a7822d040ca90435fbc264c
Diffstat (limited to 'build/hv-collector-coverage')
-rwxr-xr-xbuild/hv-collector-coverage/check-coverage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/hv-collector-coverage/check-coverage.sh b/build/hv-collector-coverage/check-coverage.sh
index cfd8f87f..192eac70 100755
--- a/build/hv-collector-coverage/check-coverage.sh
+++ b/build/hv-collector-coverage/check-coverage.sh
@@ -8,7 +8,7 @@ LOG_FILE=target/check-coverage.log
function coverage_from_report() {
local xpath_expr="string(/report/counter[@type='INSTRUCTION']/@$1)"
- xpath -q -e "$xpath_expr" "$JACOCO_REPORT" 2>> ${LOG_FILE}
+ xmllint --xpath "${xpath_expr}" "$JACOCO_REPORT" 2>> ${LOG_FILE}
}
function check_preconditions() {