A wrapper for selecting tests for partest.
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]

felixmulder/scala,shimib/scala,felixmulder/scala,jvican/scala,jvican/scala,jvican/scala,slothspot/scala,shimib/scala,jvican/scala,lrytz/scala,felixmulder/scala,scala/scala,scala/scala,lrytz/scala,lrytz/scala,felixmulder/scala,felixmulder/scala,martijnhoekstra/scala,martijnhoekstra/scala,martijnhoekstra/scala,slothspot/scala,scala/scala,martijnhoekstra/scala,martijnhoekstra/scala,martijnhoekstra/scala,jvican/scala,scala/scala,slothspot/scala,slothspot/scala,slothspot/scala,scala/scala,felixmulder/scala,slothspot/scala,shimib/scala,jvican/scala,slothspot/scala,shimib/scala,scala/scala,shimib/scala,shimib/scala,jvican/scala,lrytz/scala,lrytz/scala,felixmulder/scala,lrytz/scala