File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -433,6 +433,15 @@ object Build {
433433 case BootstrappedOptimised => `dotty-doc-optimised`
434434 }
435435
436+ def testOnlyFiltered (test : String , options : String ) = Def .inputTaskDyn {
437+ val args = spaceDelimited(" <arg>" ).parsed
438+ val cmd = s " $test -- $options" + {
439+ if (args.nonEmpty) " -Ddotty.tests.filter=" + args.mkString(" " )
440+ else " "
441+ }
442+ (testOnly in Test ).toTask(cmd)
443+ }
444+
436445 // Settings shared between dotty-compiler and dotty-compiler-bootstrapped
437446 lazy val commonDottyCompilerSettings = Seq (
438447
@@ -1234,13 +1243,4 @@ object Build {
12341243 case BootstrappedOptimised => commonOptimisedSettings
12351244 })
12361245 }
1237-
1238- def testOnlyFiltered (test : String , options : String ) = Def .inputTaskDyn {
1239- val args = spaceDelimited(" <arg>" ).parsed
1240- val cmd = s " $test -- $options" + {
1241- if (args.nonEmpty) " -Ddotty.tests.filter=" + args.mkString(" " )
1242- else " "
1243- }
1244- (testOnly in Test ).toTask(cmd)
1245- }
12461246}
You can’t perform that action at this time.
0 commit comments