summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-11-14 16:14:08 -0800
committerPaul Phillips <paulp@improving.org>2012-11-14 16:29:27 -0800
commit7ab5e7123a562ed80a347c1dcf8b0399a483c5e9 (patch)
treed5ff098d2ca25a06cafecc67855954db932ed749 /tools
parented6520b4fa002ea143cead5eb3633839d500e08d (diff)
downloadscala-7ab5e7123a562ed80a347c1dcf8b0399a483c5e9.tar.gz
scala-7ab5e7123a562ed80a347c1dcf8b0399a483c5e9.tar.bz2
scala-7ab5e7123a562ed80a347c1dcf8b0399a483c5e9.zip
Fix bug in partest-ack.
Unfortunate bug was making it far less useful than it was supposed to be. Now it really does look in scala/check/flags files, here are examples of things which work: % tools/partest-ack "input ended while parsing XML" Found 6 tests matching 'ack input ended while parsing XML' % tools/partest-ack Xlint Found 11 tests matching 'ack Xlint' % tools/partest-ack -- -language:experimental.macros Found 143 tests matching 'ack -- -language:experimental.macros' % tools/partest-ack @unchecked Found 13 tests matching 'ack @unchecked'
Diffstat (limited to 'tools')
-rwxr-xr-xtools/partest-ack2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/partest-ack b/tools/partest-ack
index f62d2c1ac0..0c8244257b 100755
--- a/tools/partest-ack
+++ b/tools/partest-ack
@@ -5,7 +5,7 @@
args="$@"
pathMatches () {
- ack --noenv --files-with-matches "$@" test/files
+ ack --noenv --text --files-with-matches "$@" test/files
for p in $(find test/files/* -print); do
[[ $p =~ $1 ]] && echo "$p"