put testOptions and testListeners in Global for more flexibility

This commit is contained in:
Mark Harrah 2011-05-25 00:02:43 -04:00
parent 50294c1519
commit 46f1e9b4a7
1 changed files with 2 additions and 2 deletions

View File

@ -227,8 +227,8 @@ object Defaults extends BuildCommon
frameworks.flatMap(f => f.create(loader, s.log).map( x => (f,x)).toIterable).toMap
},
definedTests <<= TaskData.writeRelated(detectTests)(_.map(_.name).distinct) triggeredBy compile,
testListeners :== Nil,
testOptions :== Nil,
testListeners in GlobalScope :== Nil,
testOptions in GlobalScope :== Nil,
executeTests <<= (streams in test, loadedTestFrameworks, parallelExecution in test, testOptions in test, testLoader, definedTests) flatMap {
(s, frameworkMap, par, options, loader, discovered) => Tests(frameworkMap, loader, discovered, options, par, s.log)
},