aboutsummaryrefslogtreecommitdiff
path: root/test/dotc
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-03 19:38:35 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-08 13:33:51 +0200
commit918cea1e9f7e93d0a5263a1fff073cc2d704a323 (patch)
tree36a1674cf205f65419fce9d93ae64c1b416f398a /test/dotc
parent66899f85cdeedf823da3f45c2ef0a55ccd6c3d99 (diff)
downloaddotty-918cea1e9f7e93d0a5263a1fff073cc2d704a323.tar.gz
dotty-918cea1e9f7e93d0a5263a1fff073cc2d704a323.tar.bz2
dotty-918cea1e9f7e93d0a5263a1fff073cc2d704a323.zip
Compile Dotty including runtime and utils.
Diffstat (limited to 'test/dotc')
-rw-r--r--test/dotc/tests.scala12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 0e86303a2..4dc3c70d6 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -37,11 +37,11 @@ class tests extends CompilerTest {
val negDir = testsDir + "neg/"
val newDir = testsDir + "new/"
- val dottyDir = "./src/dotty/"
- val toolsDir = dottyDir + "tools/"
- val dotcDir = toolsDir + "dotc/"
- val coreDir = dotcDir + "core/"
-
+ val sourceDir = "./src/"
+ val dottyDir = sourceDir + "dotty/"
+ 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,8 +135,8 @@ class tests extends CompilerTest {
@Test def neg_instantiateAbstract = compileFile(negDir, "instantiateAbstract", xerrors = 8)
@Test def neg_selfInheritance = compileFile(negDir, "selfInheritance", xerrors = 5)
- @Test def dotc = compileDir(toolsDir, "dotc", "-deep" :: allowDeepSubtypes ++ twice) // note the -deep argument
+ @Test def dotty = compileDir(sourceDir, "", "-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