Include pending scripted tests in * and *aofb

This commit is contained in:
Martin Duhem 2015-08-19 09:11:02 +02:00
parent bce77a1ecc
commit d84573c9d3
1 changed files with 3 additions and 2 deletions

View File

@ -19,10 +19,11 @@ object Scripted {
case class ScriptedTestPage(page: Int, total: Int)
def scriptedParser(scriptedBase: File): Parser[Seq[String]] =
{
val pairs = (scriptedBase * AllPassFilter * AllPassFilter * "test").get map { (f: File) =>
val scriptedFiles: NameFilter = ("test": NameFilter) | "pending"
val pairs = (scriptedBase * AllPassFilter * AllPassFilter * scriptedFiles).get map { (f: File) =>
val p = f.getParentFile
(p.getParentFile.getName, p.getName)
};
}
val pairMap = pairs.groupBy(_._1).mapValues(_.map(_._2).toSet);
val id = charClass(c => !c.isWhitespace && c != '/').+.string