From be0bcc7c675d8b70c9414eadd5a47c3f11ae5243 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 11 May 2015 11:37:12 +0200 Subject: Re-enable tests Most tests were still commented out in last merge. Also, an outdated comment in TreeTypeMap was removed. --- test/dotc/tests.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/dotc/tests.scala') diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 512cad90e..61ebae609 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -42,7 +42,7 @@ class tests extends CompilerTest { val toolsDir = dottyDir + "tools/" val dotcDir = toolsDir + "dotc/" val coreDir = dotcDir + "core/" -/* + @Test def pickle_pickleOK = compileDir(testsDir, "pickling", testPickling) @Test def pickle_pickling = compileDir(coreDir, "pickling", testPickling) @Test def pickle_ast = compileDir(dotcDir, "ast", testPickling) @@ -135,9 +135,9 @@ class tests extends CompilerTest { @Test def neg_escapingRefs = compileFile(negDir, "escapingRefs", xerrors = 2) @Test def neg_instantiateAbstract = compileFile(negDir, "instantiateAbstract", xerrors = 8) @Test def neg_selfInheritance = compileFile(negDir, "selfInheritance", xerrors = 5) -*/ + @Test def dotty = compileDir(toolsDir, "", "-deep" :: allowDeepSubtypes ++ twice) // note the -deep argument -/* + @Test def dotc_ast = compileDir(dotcDir, "ast") @Test def dotc_config = compileDir(dotcDir, "config") @Test def dotc_core = compileDir(dotcDir, "core")("-Yno-double-bindings" :: allowDeepSubtypes)// twice omitted to make tests run faster @@ -178,6 +178,6 @@ class tests extends CompilerTest { ), List(/* "-Ylog:frontend", */ "-Xprompt") ++ staleSymbolError ++ twice) val javaDir = "./tests/pos/java-interop/" - @Test def java_all = compileFiles(javaDir, twice)*/ + @Test def java_all = compileFiles(javaDir, twice) //@Test def dotc_compilercommand = compileFile(dotcDir + "config/", "CompilerCommand") } -- cgit v1.2.3