File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 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
1515 * =======
1616 * These are legacy, do not add tests here, see `CompilationTests.scala`
1717 */
18- @ Category (Array (classOf [java.lang. Exception ]))
18+ @ Category (Array (classOf [LegacyTests ]))
1919class tests extends CompilerTest {
2020
2121 // 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 {
468468
469469 test in Test := {
470470 // 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
472472 },
473473
474474 testAll in Test := {
475475 // 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
477477 },
478478
479479 vulpix := Def .inputTaskDyn {
You can’t perform that action at this time.
0 commit comments