Skip to content

Commit

Permalink
Also print Android test failures.
Browse files Browse the repository at this point in the history
RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=334196405
  • Loading branch information
cpovirk authored and cgdecker committed Sep 29, 2020
1 parent 9ae23cd commit 44b6fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/print_surefire_reports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu

# Ignore passing tests.
files=($(
grep -e 'failures=.[^0]' -e 'errors=.[^0]' */target/surefire-reports/*.xml -l |
grep -e 'failures=.[^0]' -e 'errors=.[^0]' {android/,}*/target/surefire-reports/*.xml -l |
sed -e 's/TEST-//; s/.xml$//'))

for file in "${files[@]}"; do
Expand Down

0 comments on commit 44b6fcf

Please sign in to comment.