Skip to content

Commit bc9630e

Browse files
committed
Restore --show-diff to partest-ack.
Looks like that issue was operator error. However partest option --show-log really has gone missing.
1 parent 7c8b636 commit bc9630e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/partest-ack

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ declare quiet failed update partest_debug
66
declare cotouched since sortCommand
77
declare -a ack_args partest_args scalac_args
88

9+
partest_args=( --show-diff )
910
base="$(cd "$(dirname "$0")"/.. && pwd)"
1011
cd "$base" || { echo "Could not change to base directory $base" && exit 1; }
1112
filesdir="test/files"
@@ -134,8 +135,8 @@ count=$(echo $(echo "$paths" | wc -w))
134135

135136
# Output a command line which will re-run these same tests.
136137
echo "# $count tests to run."
137-
printf "%-52s %s\n" "$base/test/partest ${partest_args[@]}" "\\"
138+
printf "%-52s %s\n" "$base/test/partest ${partest_args[*]}" "\\"
138139
for path in $paths; do printf " %-50s %s\n" "$path" "\\"; done
139-
echo ' ""'
140+
echo ""
140141

141-
test/partest "${partest_args[@]}" $paths
142+
test/partest ${partest_args[*]} $paths

0 commit comments

Comments
 (0)