Skip to content

Commit

Permalink
Restore --show-diff to partest-ack.
Browse files Browse the repository at this point in the history
Looks like that issue was operator error. However partest
option --show-log really has gone missing.
  • Loading branch information
paulp committed Aug 29, 2013
1 parent 7c8b636 commit bc9630e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/partest-ack
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ declare quiet failed update partest_debug
declare cotouched since sortCommand
declare -a ack_args partest_args scalac_args

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

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

test/partest "${partest_args[@]}" $paths
test/partest ${partest_args[*]} $paths

0 comments on commit bc9630e

Please sign in to comment.