diff options
author | Paul Phillips <paulp@improving.org> | 2012-09-22 10:22:11 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-09-22 10:23:34 -0700 |
commit | 3992f23d3839e940c0656dc55f063908550216dc (patch) | |
tree | 3a26f590177b266213545e0a16a55d9b1719c159 /test/pending | |
parent | 4adfcfe6ffc0d850568b5d606aa7fc91b4deca52 (diff) | |
download | scala-3992f23d3839e940c0656dc55f063908550216dc.tar.gz scala-3992f23d3839e940c0656dc55f063908550216dc.tar.bz2 scala-3992f23d3839e940c0656dc55f063908550216dc.zip |
A wrapper for selecting tests for partest.
"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]
Diffstat (limited to 'test/pending')
0 files changed, 0 insertions, 0 deletions