test case for #777 (custom testGrouping+no tests)

This commit is contained in:
Mark Harrah 2013-06-07 13:30:36 -04:00
parent cb3df0982f
commit 16da91946b
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,8 @@
testGrouping <<= (definedTests in Test) map { tests =>
tests map { test =>
new Tests.Group(
name = test.name,
tests = Seq(test),
runPolicy = Tests.SubProcess(javaOptions = Seq.empty[String]))
}
}

View File

@ -0,0 +1,3 @@
# https://github.com/sbt/sbt/issues/777
# throws an exception for custom groupings when no tests are defined
> test