aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-02-17 15:48:51 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-03-11 14:43:06 +0100
commit17fd98840927b127cf9aab53d2939176103175c9 (patch)
tree55e9ca0f892c3a27eb9a9b288160fb6f68a30eae /test
parentaedeab9f49fbbf35ed6817e51420da4de449fd14 (diff)
downloaddotty-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')
-rw-r--r--test/dotc/tests.scala8
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)