Skip to content

Commit

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

baseline_warnings="../${project}-${revision}-expected-warnings.txt"
# 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 '\]*\[')"
generated_warnngs="$(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 f6538db

Please sign in to comment.