Skip to content

Commit

Permalink
Making the whole section with only in check non fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
judovana committed Nov 1, 2024
1 parent 83e9568 commit 02dd02d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tooling/compare-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,12 @@ pushd "${COMPARE_WAPPER_SCRIPT_DIR}/reproducible/"
totlog="${WORKDIR}/totalfiles.log"
cat "${LOG}" | grep "Number of differences" -A 1 > "${diflog}"
echo "Warning, the files which are only in one of the JDKs may be missing in this summary:" >> "${diflog}"
cat "${LOG}" | grep "Only in" | sed "s|${WORKDIR}||g">> "${diflog}" || true
set +e
cat "${LOG}" | grep "Only in" | sed "s|${WORKDIR}||g">> "${diflog}"
echo -n "Only in: " >> "${diflog}"
cat "${LOG}" | grep "Only in " | wc -l >> "${diflog}"
cat "${LOG}" | grep "Number of files" > "${totlog}"
set -e
popd

diffFile="${COMPARE_WAPPER_SCRIPT_DIR}/reproducible/reprotest.diff"
Expand Down

0 comments on commit 02dd02d

Please sign in to comment.