aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotc/comptest.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-03-17 11:35:15 +0100
committerFelix Mulder <felix.mulder@gmail.com>2017-03-29 10:33:24 +0200
commitf6eb90208177866af339540ee7658c0d11fc3882 (patch)
tree698b6b8884511ea6ce861d61b07beb05dc0bcebb /compiler/test/dotc/comptest.scala
parent404ce89a1b9408e4c3ceb2f90eddbdb776e011c6 (diff)
downloaddotty-f6eb90208177866af339540ee7658c0d11fc3882.tar.gz
dotty-f6eb90208177866af339540ee7658c0d11fc3882.tar.bz2
dotty-f6eb90208177866af339540ee7658c0d11fc3882.zip
Kill partest
Diffstat (limited to 'compiler/test/dotc/comptest.scala')
-rw-r--r--compiler/test/dotc/comptest.scala29
1 files changed, 15 insertions, 14 deletions
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"
+ )
+ )
}