File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,6 @@ object Build {
135
135
triggeredMessage in ThisBuild := Watched .clearWhenTriggered,
136
136
137
137
addCommandAlias(" run" , " dotty-compiler/run" ) ++
138
- addCommandAlias(" test" , " testOnly -- --exclude-categories=java.lang.Exception" ) ++
139
138
addCommandAlias(" legacyTests" , " dotty-compiler/testOnly dotc.tests" )
140
139
).
141
140
settings(publishing)
@@ -144,8 +143,7 @@ object Build {
144
143
lazy val `dotty-bootstrapped` = project.
145
144
aggregate(`dotty-library-bootstrapped`, `dotty-compiler-bootstrapped`).
146
145
settings(
147
- publishArtifact := false ,
148
- addCommandAlias(" test" , " testOnly -- --exclude-categories=java.lang.Exception" )
146
+ publishArtifact := false
149
147
)
150
148
151
149
lazy val `dotty-interfaces` = project.in(file(" interfaces" )).
@@ -286,6 +284,11 @@ object Build {
286
284
)
287
285
}.evaluated,
288
286
287
+ test in Test := {
288
+ // Exclude legacy tests by default
289
+ (testOnly in Test ).toTask(" -- --exclude-categories=java.lang.Exception" ).value
290
+ },
291
+
289
292
vulpix := Def .inputTaskDyn {
290
293
val args : Seq [String ] = spaceDelimited(" <arg>" ).parsed
291
294
val cmd = " dotty.tools.dotc.CompilationTests" + {
You can’t perform that action at this time.
0 commit comments