entrypoint: don't print results of 'command' when testing for castxml

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2021-09-13 11:17:58 -04:00 committed by mergify[bot]
parent 953e3ab495
commit 970b2eecda

View File

@ -244,7 +244,7 @@ post_all_tests() {
mkdir -p "${RESULTS_DIR}/coverage"
show go tool cover -html=cover.out -o "${RESULTS_DIR}/coverage/go-ceph.html"
fi
if [[ ${COVERAGE} = yes ]] && command -v castxml ; then
if [[ ${COVERAGE} = yes ]] && command -v castxml >/dev/null ; then
mkdir -p "${RESULTS_DIR}/coverage"
show ./implements --list \
--report-json "${RESULTS_DIR}/implements.json" \