From e6df566b91935088882f3e02d382b5a2cb6c1f73 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Mon, 19 Dec 2016 13:08:54 +0100 Subject: Add back a JUnit "dotty" test This way we can test that dotty compiles dotty using dotty-compiler/test-only -- --tests=dotty --- compiler/test/dotc/tests.scala | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler/test/dotc/tests.scala') diff --git a/compiler/test/dotc/tests.scala b/compiler/test/dotc/tests.scala index 65074d4c2..eecb068fe 100644 --- a/compiler/test/dotc/tests.scala +++ b/compiler/test/dotc/tests.scala @@ -256,6 +256,11 @@ class tests extends CompilerTest { |../scala-scala/src/library/scala/collection/generic/GenSeqFactory.scala""".stripMargin) @Test def compileIndexedSeq = compileLine("../scala-scala/src/library/scala/collection/immutable/IndexedSeq.scala") + @Test def dotty = { + dottyBootedLib + dottyDependsOnBootedLib + } + @Test def dotc_ast = compileDir(dotcDir, "ast") @Test def dotc_config = compileDir(dotcDir, "config") @Test def dotc_core = compileDir(dotcDir, "core")(allowDeepSubtypes)// twice omitted to make tests run faster -- cgit v1.2.3