Skip to content

Commit

Permalink
Revert "Revert run.sh changes"
Browse files Browse the repository at this point in the history
This reverts commit 38aa286.
  • Loading branch information
oxkitsune authored and rickie committed Oct 20, 2023
1 parent f6538db commit 181c046
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion integration-tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ mvn clean package \
echo "Finished validation run!"

baseline_warnings="../${project}-${revision}-expected-warnings.txt"
generated_warnngs="$(grep -oP "(?<=^\\Q[WARNING] ${PWD}/\\E).*" "${validation_log_file}" | grep -P '\] \[')"
# note: added '*' in the final grep, required in order to get matches in GNU grep 3.11
# disable sync mechanism, we just want to upload the expected warnings
generated_warnings="$(grep -oP "(?<=^\\Q[WARNING] ${PWD}/\\E).*" "${validation_log_file}" | grep -P '\]*\[')"
# if [ -n "${do_sync}" ]; then
echo 'Saving emitted warnings...'
echo "${generated_warnings}" > "${baseline_warnings}"
Expand Down

0 comments on commit 181c046

Please sign in to comment.