diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2016-12-19 13:08:54 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2016-12-19 13:08:54 +0100 |
commit | e6df566b91935088882f3e02d382b5a2cb6c1f73 (patch) | |
tree | 0063cb4c993b0ba755aa6d9a0988fd5be5319c3e /compiler | |
parent | c555a4aff7ad3a302a1495ab502948420bb4df14 (diff) | |
download | dotty-e6df566b91935088882f3e02d382b5a2cb6c1f73.tar.gz dotty-e6df566b91935088882f3e02d382b5a2cb6c1f73.tar.bz2 dotty-e6df566b91935088882f3e02d382b5a2cb6c1f73.zip |
Add back a JUnit "dotty" test
This way we can test that dotty compiles dotty using
dotty-compiler/test-only -- --tests=dotty
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/test/dotc/tests.scala | 5 |
1 files changed, 5 insertions, 0 deletions
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 |