Skip to content

Commit 230cb1f

Browse files
committed
Change to run test
1 parent 19e8904 commit 230cb1f

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@ class CompilationTests extends ParallelTesting {
6161
compileFile("tests/pos-special/i7296.scala", defaultOptions.and("-strict", "-deprecation", "-Xfatal-warnings")),
6262
compileFile("tests/pos-special/notNull.scala", defaultOptions.and("-Yexplicit-nulls")),
6363
compileDir("tests/pos-special/adhoc-extension", defaultOptions.and("-strict", "-feature", "-Xfatal-warnings")),
64-
compileFile("tests/pos-special/i7575.scala", defaultOptions.and("-language:dynamics")),
65-
66-
withLibs("junit:junit:4.13") { flags => compileFile("tests/pos-custom-args/i7990.scala", flags) }
64+
compileFile("tests/pos-special/i7575.scala", defaultOptions.and("-language:dynamics"))
6765
).checkCompile()
6866
}
6967

@@ -172,7 +170,8 @@ class CompilationTests extends ParallelTesting {
172170
compileFile("tests/run-custom-args/no-useless-forwarders.scala", defaultOptions and "-Xmixin-force-forwarders:false"),
173171
compileFilesInDir("tests/run-custom-args/erased", defaultOptions.and("-Yerased-terms")),
174172
compileFilesInDir("tests/run-deep-subtype", allowDeepSubtypes),
175-
compileFilesInDir("tests/run", defaultOptions)
173+
compileFilesInDir("tests/run", defaultOptions),
174+
withLibs("junit:junit:4.13") { flags => compileFile("tests/run-custom-args/i7990.scala", flags) }
176175
).checkRuns()
177176
}
178177

tests/pos-custom-args/i7990.scala

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/run-custom-args/i7990.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@main def Test = org.junit.AssumptionViolatedException("error")

0 commit comments

Comments
 (0)