diff options
author | odersky <odersky@gmail.com> | 2016-04-16 13:42:41 +0200 |
---|---|---|
committer | odersky <odersky@gmail.com> | 2016-04-16 13:42:41 +0200 |
commit | 3ef41153463fbc89a3dda3a648ae0320aef95555 (patch) | |
tree | e2ac430f5f0b498fc7b8243c5cda2df6044097cf /test | |
parent | 8af61ab2df46456fb943ce614c4d22b22a297239 (diff) | |
parent | 7ea24c63ad57029b8e68ff00f5978e0e9058f60b (diff) | |
download | dotty-3ef41153463fbc89a3dda3a648ae0320aef95555.tar.gz dotty-3ef41153463fbc89a3dda3a648ae0320aef95555.tar.bz2 dotty-3ef41153463fbc89a3dda3a648ae0320aef95555.zip |
Merge pull request #1211 from dotty-staging/fix-#1202
Fix Tasty errors
Diffstat (limited to 'test')
-rw-r--r-- | test/dotc/tests.scala | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 51b8b3dc5..b646c72d5 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -200,11 +200,12 @@ class tests extends CompilerTest { @Test def tasty_new_all = compileFiles(newDir, testPickling) @Test def tasty_dotty = compileDir(sourceDir, "dotty", testPickling) - @Test def tasty_annotation_internal = compileDir(s"${dottyDir}annotation/", "internal", testPickling) - @Test def tasty_runtime = compileDir(s"$dottyDir", "runtime", testPickling) - //TODO: issues with ./src/dotty/runtime/vc/VCPrototype.scala - //@Test def tasty_runtime_vc = compileDir(s"${dottyDir}runtime/", "vc", testPickling) + // Disabled because we get stale symbol errors on the SourceFile annotation, which is normal. + // @Test def tasty_annotation_internal = compileDir(s"${dottyDir}annotation/", "internal", testPickling) + + @Test def tasty_runtime = compileDir(s"$dottyDir", "runtime", testPickling) + @Test def tasty_runtime_vc = compileDir(s"${dottyDir}runtime/", "vc", testPickling) @Test def tasty_tools = compileDir(dottyDir, "tools", testPickling) @@ -214,11 +215,7 @@ class tests extends CompilerTest { "scalaPrimitives.scala" ) map (s"${backendDir}jvm/" + _), testPickling) - //TODO: issue with ./src/dotty/tools/backend/sjs/JSCodeGen.scala - @Test def tasty_backend_sjs = compileList("tasty_backend_sjs", List( - "GenSJSIR.scala", "JSDefinitions.scala", "JSEncoding.scala", "JSInterop.scala", - "JSPositions.scala", "JSPrimitives.scala", "ScopedVar.scala" - ) map (s"${backendDir}sjs/" + _), testPickling) + @Test def tasty_backend_sjs = compileDir(s"${backendDir}", "sjs", testPickling) @Test def tasty_dotc = compileDir(toolsDir, "dotc", testPickling) @Test def tasty_dotc_ast = compileDir(dotcDir, "ast", testPickling) @@ -249,12 +246,7 @@ class tests extends CompilerTest { @Test def tasty_dotc_printing = compileDir(dotcDir, "printing", testPickling) - //TODO: issues with ./src/dotty/tools/dotc/repl/CompilingInterpreter.scala, - //./src/dotty/tools/dotc/repl/InterpreterLoop.scala - @Test def tasty_dotc_repl = compileList("tasty_dotc_repl", List( - "AbstractFileClassLoader.scala", "ConsoleWriter.scala", "InteractiveReader.scala", - "Interpreter.scala", "Main.scala", "NewLinePrintWriter.scala", "REPL.scala", "SimpleReader.scala" - ) map (dottyReplDir + _), testPickling) + @Test def tasty_dotc_repl = compileDir(dotcDir, "repl", testPickling) //@Test def tasty_dotc_reporting = compileDir(dotcDir, "reporting", testPickling) @Test def tasty_dotc_rewrite = compileDir(dotcDir, "rewrite", testPickling) |