summaryrefslogtreecommitdiff
path: root/tools/partest-ack
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug in partest-ack.Paul Phillips2012-11-141-1/+1
| | | | | | | | | | | | | | | | | | 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'
* A wrapper for selecting tests for partest.Paul Phillips2012-09-221-0/+71
"partest-ack", just what it sounds like. % tools/partest-ack Usage: tools/partest-ack <regex> [ack options] Given a regular expression (and optionally, any arguments accepted by ack) runs all the tests for which any associated file matches the regex. Associated files include .check and .flags files. Tests in directories will match if any file matches. A file can match the regex by its contents or by its name. You must have ack installed: http://betterthangrep.com/ack-standalone Examples: % tools/partest-ack monad Found 4 tests matching 'ack monad' Testing individual files testing: [...]/files/pos/tcpoly_boundedmonad.scala [ OK ] testing: [...]/files/pos/tcpoly_ticket2096.scala [ OK ] testing: [...]/files/run/tcpoly_monads.scala [ OK ] testing: [...]/files/presentation/callcc-interpreter [ OK ] % tools/partest-ack monad -i # -i == ignore case Found 12 tests matching 'ack monad -i' Testing individual files [etc]