File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change
1
+ package dotc
2
+
3
+ /** Legacy tests category for JUnit */
4
+ trait LegacyTests
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import scala.io.Source
15
15
* =======
16
16
* These are legacy, do not add tests here, see `CompilationTests.scala`
17
17
*/
18
- @ Category (Array (classOf [java.lang. Exception ]))
18
+ @ Category (Array (classOf [LegacyTests ]))
19
19
class tests extends CompilerTest {
20
20
21
21
// tests that match regex '(pos|dotc|run|java|compileStdLib)\.*' would be
Original file line number Diff line number Diff line change @@ -468,12 +468,12 @@ object Build {
468
468
469
469
test in Test := {
470
470
// Exclude legacy tests by default
471
- (testOnly in Test ).toTask(" -- --exclude-categories=java.lang.Exception ,dotty.tools.dotc.SlowTests" ).value
471
+ (testOnly in Test ).toTask(" -- --exclude-categories=dotc.LegacyTests ,dotty.tools.dotc.SlowTests" ).value
472
472
},
473
473
474
474
testAll in Test := {
475
475
// Exclude legacy tests by default
476
- (testOnly in Test ).toTask(" -- --exclude-categories=java.lang.Exception " ).value
476
+ (testOnly in Test ).toTask(" -- --exclude-categories=dotc.LegacyTests " ).value
477
477
},
478
478
479
479
vulpix := Def .inputTaskDyn {
You can’t perform that action at this time.
0 commit comments