Skip to content

Commit e6df566

Browse files
committed
Add back a JUnit "dotty" test
This way we can test that dotty compiles dotty using dotty-compiler/test-only -- --tests=dotty
1 parent c555a4a commit e6df566

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler/test/dotc/tests.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,11 @@ class tests extends CompilerTest {
256256
|../scala-scala/src/library/scala/collection/generic/GenSeqFactory.scala""".stripMargin)
257257
@Test def compileIndexedSeq = compileLine("../scala-scala/src/library/scala/collection/immutable/IndexedSeq.scala")
258258

259+
@Test def dotty = {
260+
dottyBootedLib
261+
dottyDependsOnBootedLib
262+
}
263+
259264
@Test def dotc_ast = compileDir(dotcDir, "ast")
260265
@Test def dotc_config = compileDir(dotcDir, "config")
261266
@Test def dotc_core = compileDir(dotcDir, "core")(allowDeepSubtypes)// twice omitted to make tests run faster

0 commit comments

Comments
 (0)