summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-08-29 10:27:26 -0700
committerPaul Phillips <paulp@improving.org>2013-08-29 10:27:26 -0700
commitbc9630e8265c00f1c6ed04e39f58e63b565e4934 (patch)
tree37d0b661722804bbf9a9723f54be9e25a0d339d6 /tools
parent7c8b6369aaaac1317a04baeba5df5c47f2d7a731 (diff)
downloadscala-bc9630e8265c00f1c6ed04e39f58e63b565e4934.tar.gz
scala-bc9630e8265c00f1c6ed04e39f58e63b565e4934.tar.bz2
scala-bc9630e8265c00f1c6ed04e39f58e63b565e4934.zip
Restore --show-diff to partest-ack.
Looks like that issue was operator error. However partest option --show-log really has gone missing.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/partest-ack7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/partest-ack b/tools/partest-ack
index 551f92684f..c88793c2b5 100755
--- a/tools/partest-ack
+++ b/tools/partest-ack
@@ -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"
@@ -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