Skip to content

Commit

Permalink
tap files honouring number of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
judovana committed Nov 1, 2024
1 parent c09edb3 commit 83e9568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/compare-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ function tapsAndJunits() {
# shellcheck disable=SC1091
source "${RFAT}/tap-shell-tap.sh"
resultsTapFile="${WORKDIR}/compare-comparable-builds.tap"
tapHeader "1" "$(date)" > "${resultsTapFile}"
unitFile="compare-comparable-builds.jtr.xml"
unitFileArchive="$unitFile.tar.xz"
set +x
Expand Down Expand Up @@ -416,6 +415,7 @@ function tapsAndJunits() {
fi
total=$(("${passed}"+"${failed}"))
printXmlHeader "${passed}" "${failed}" "${total}" 0 "compare-comparable-builds" > "${unitFile}"
tapHeader "${total}" "$(date)" > "${resultsTapFile}"
if [ "${totalDiffs}" -eq 0 ] ; then
printXmlTest "compare" "differences-count" "1" "" "../artifact/$(basename "${differencesFile}")" >> "${unitFile}"
tapTestStart "ok" "1" "differences-count" >> "${resultsTapFile}"
Expand Down

0 comments on commit 83e9568

Please sign in to comment.