mirror of https://github.com/sbt/sbt.git
put testOptions and testListeners in Global for more flexibility
This commit is contained in:
parent
50294c1519
commit
46f1e9b4a7
|
|
@ -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)
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue