diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-02-17 15:48:51 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-03-11 14:43:06 +0100 |
commit | 17fd98840927b127cf9aab53d2939176103175c9 (patch) | |
tree | 55e9ca0f892c3a27eb9a9b288160fb6f68a30eae /test/dotc | |
parent | aedeab9f49fbbf35ed6817e51420da4de449fd14 (diff) | |
download | dotty-17fd98840927b127cf9aab53d2939176103175c9.tar.gz dotty-17fd98840927b127cf9aab53d2939176103175c9.tar.bz2 dotty-17fd98840927b127cf9aab53d2939176103175c9.zip |
Enable all pos tests for backend.
compiling dotty is stil WIP
Diffstat (limited to 'test/dotc')
-rw-r--r-- | test/dotc/tests.scala | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index c40ceaaef..e65f331cc 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -25,6 +25,7 @@ class tests extends CompilerTest { val failedOther = List("-Ystop-before:collectEntryPoints") // some non-obvious reason. need to look deeper val twice = List("#runs", "2", "-YnoDoubleBindings") + val staleSymbolError: List[String] = List() val allowDeepSubtypes = defaultOptions diff List("-Yno-deep-subtypes") @@ -70,7 +71,9 @@ class tests extends CompilerTest { @Test def pos_anonClassSubtyping = compileFile(posDir, "anonClassSubtyping") @Test def pos_extmethods = compileFile(posDir, "extmethods") - @Test def pos_all = compileFiles(posDir, failedOther) + @Test def pos_all = compileFiles(posDir) + + @Test def new_all = compileFiles(newDir, twice) @@ -158,8 +161,7 @@ class tests extends CompilerTest { dotcDir + "tools/dotc/config/Properties.scala", dotcDir + "tools/dotc/config/PathResolver.scala", //"-Ylog:frontend", - "-Xprompt", - "#runs", "2")) + "-Xprompt") ++ staleSymbolError) val javaDir = "./tests/pos/java-interop/" @Test def java_all = compileFiles(javaDir) |