Skip to content

Commit

Permalink
clarify reason for check exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
oxkitsune committed Dec 13, 2023
1 parent 82943a4 commit afe7925
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration-tests/metrics-v4.2.19.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ fi
do_sync="$([ "${#}" = 0 ] || [ "${1:-}" != '--sync' ] || echo 1)"
report_directory="$([ "${#}" = 0 ] || ([ -z "${do_sync}" ] && echo "${1}") || ([ "${#}" = 1 ] || echo "${2}"))"

# XXX: We exclude the CollectorMutability and the Immutable*|Preconditions*|StringRules.StringIsNullOrEmpty refaster rules
# as they introduce changes that expect guava to be on the classpath.
patch_flags="-Xep:CollectorMutability:OFF -XepOpt:Refaster:NamePattern=^((?!(Immutable|Preconditions|StringRules\.StringIsNullOrEmpty)).*)"

"$(dirname ${0})"/integration-test.sh "$test_name" "$project" "$repository" "$revision" "" "${patch_flags}" "" "" "$do_sync" "$report_directory"

0 comments on commit afe7925

Please sign in to comment.