File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -433,6 +433,15 @@ object Build {
433
433
case BootstrappedOptimised => `dotty-doc-optimised`
434
434
}
435
435
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
+
436
445
// Settings shared between dotty-compiler and dotty-compiler-bootstrapped
437
446
lazy val commonDottyCompilerSettings = Seq (
438
447
@@ -1234,13 +1243,4 @@ object Build {
1234
1243
case BootstrappedOptimised => commonOptimisedSettings
1235
1244
})
1236
1245
}
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
- }
1246
1246
}
You can’t perform that action at this time.
0 commit comments