From 7ab5e7123a562ed80a347c1dcf8b0399a483c5e9 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 14 Nov 2012 16:14:08 -0800 Subject: 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' --- tools/partest-ack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3