Skip to content

Commit

Permalink
roeprly closing tap parts
Browse files Browse the repository at this point in the history
  • Loading branch information
judovana committed Nov 1, 2024
1 parent dbbf382 commit 90f02f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tooling/compare-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ function tapsAndJunits() {
fi
set +e
tapFromWholeFile "${differencesFile}" "${differencesFile}" >> "${resultsTapFile}"
tapTestEnd >> "${resultsTapFile}"
set -e
if [ "${totalFiles}" -ne 0 ] ; then
printXmlTest "compare" "compared-files-count" "2" "" "../artifact/$(basename "${totalFile}")" >> "${unitFile}"
Expand All @@ -442,6 +443,7 @@ function tapsAndJunits() {
fi
set +e
tapFromWholeFile "${totalFile}" "${totalFile}" >> "${resultsTapFile}"
tapTestEnd >> "${resultsTapFile}"
set -e
if [ "${totalOnlyIn}" -eq 0 ] ; then
printXmlTest "compare" "onlyin-count" "3" "" "../artifact/$(basename "${differencesFile}")" >> "${unitFile}"
Expand All @@ -454,6 +456,7 @@ function tapsAndJunits() {
fi
set +e
tapFromWholeFile "${differencesFile}" "${differencesFile}" >> "${resultsTapFile}"
tapTestEnd >> "${resultsTapFile}"
set -e
if [ $GLOABL_RESULT -eq 0 ] ; then
printXmlTest "compare" "comparable-builds" "4" "" "../artifact/$(basename "${diffFileParam}")" >> "${unitFile}"
Expand All @@ -468,9 +471,9 @@ function tapsAndJunits() {
# shellcheck disable=SC2002
cat "${diffFileParam}" | sed "s|${WORKDIR}||g" > diffFileCopy || true
tapFromWholeFile "diffFileCopy" "reprotest.diff" >> "${resultsTapFile}"
tapTestEnd >> "${resultsTapFile}"
set -e
printXmlFooter >> "${unitFile}"
tapTestEnd >> "${resultsTapFile}"
set -x
tar -cJf "${WORKDIR}/${unitFileArchive}" "${unitFile}"
else
Expand Down

0 comments on commit 90f02f2

Please sign in to comment.