From f6eb90208177866af339540ee7658c0d11fc3882 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Fri, 17 Mar 2017 11:35:15 +0100 Subject: Kill partest --- compiler/test/dotc/comptest.scala | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'compiler/test/dotc') diff --git a/compiler/test/dotc/comptest.scala b/compiler/test/dotc/comptest.scala index 5ae1823e8..b1a6fa266 100644 --- a/compiler/test/dotc/comptest.scala +++ b/compiler/test/dotc/comptest.scala @@ -1,24 +1,25 @@ package dotc -import dotty.tools.dotc.CompilerTest +import dotty.tools.dotc.ParallelTesting -object comptest extends CompilerTest { +object comptest extends ParallelTesting { - override val generatePartestFiles = false - val defaultOutputDir: String = "" + implicit val defaultOutputDir: String = "." val posDir = "./tests/pos/" val negDir = "./tests/neg/" val dotcDir = "./src/dotty/" - def main(args: Array[String]) = - compileList("comptest", List( - dotcDir + "tools/dotc/CompilationUnit.scala", - dotcDir + "tools/dotc/core/Types.scala", - dotcDir + "tools/dotc/ast/Trees.scala"), List( - "#runs", "2", - "-Ylog:frontend", - "-Xprompt"))(Nil) - -// compileDir(dotcDir + "tools/dotc/", "printing", List("-Xprompt", "-Ylog:frontend", "#runs", "2", "-uniqid")) + def main(args: Array[String]): Unit = + compileList( + List( + dotcDir + "tools/dotc/CompilationUnit.scala", + dotcDir + "tools/dotc/core/Types.scala", + dotcDir + "tools/dotc/ast/Trees.scala" + ), + Array( + "-Ylog:frontend", + "-Xprompt" + ) + ) } -- cgit v1.2.3