mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
Summary of key changes: - The `MissingRefasterAnnotation` check was contributed to Error Prone, and so is deleted here (multiple checks with the same name are not supported). - Similarly, Error Prone now supports the `-XepAllSuggestionsAsWarnings` flag out of the box. So the `ErrorProneFork` class is deleted, as it has currently no further use. While there, include a tweak to `run-mutation-tests.sh`. Fixes #686. See: - https://github.com/google/error-prone/releases/tag/v2.20.0 - https://github.com/google/error-prone/compare/v2.19.1...v2.20.0 - https://github.com/PicnicSupermarket/error-prone/compare/v2.19.1-picnic-1...v2.20.0-picnic-1
22 lines
547 B
Bash
Executable File
22 lines
547 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Executes Pitest to determine the code's mutation test coverage. The set of
|
|
# tests executed can optionally be restricted by name. The results are found in
|
|
# each Maven module's `target/pit-reports` directory.
|
|
|
|
set -e -u -o pipefail
|
|
|
|
if [ "${#}" -gt 1 ]; then
|
|
echo "Usage: ${0} [TargetTests]"
|
|
exit 1
|
|
fi
|
|
|
|
targetTests="${1:-*}"
|
|
|
|
mvn clean test pitest:mutationCoverage \
|
|
-DargLine.xmx=2048m \
|
|
-Dverification.skip \
|
|
-Dsurefire.failIfNoSpecifiedTests=false \
|
|
-Dtest="${targetTests}" \
|
|
-DtargetTests="${targetTests}"
|