Skip to content

Commit 5ca253c

Browse files
committed
Compile Dotty including runtime and utils.
1 parent 6e281ff commit 5ca253c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/dotc/tests.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ class tests extends CompilerTest {
3737
val negDir = testsDir + "neg/"
3838
val newDir = testsDir + "new/"
3939

40-
val dottyDir = "./src/dotty/"
41-
val toolsDir = dottyDir + "tools/"
42-
val dotcDir = toolsDir + "dotc/"
43-
val coreDir = dotcDir + "core/"
44-
40+
val sourceDir = "./src/"
41+
val dottyDir = sourceDir + "dotty/"
42+
val toolsDir = dottyDir + "tools/"
43+
val dotcDir = toolsDir + "dotc/"
44+
val coreDir = dotcDir + "core/"
4545
@Test def pickle_pickleOK = compileDir(testsDir, "pickling", testPickling)
4646
@Test def pickle_pickling = compileDir(coreDir, "pickling", testPickling)
4747
@Test def pickle_ast = compileDir(dotcDir, "ast", testPickling)
@@ -135,8 +135,8 @@ class tests extends CompilerTest {
135135
@Test def neg_instantiateAbstract = compileFile(negDir, "instantiateAbstract", xerrors = 8)
136136
@Test def neg_selfInheritance = compileFile(negDir, "selfInheritance", xerrors = 5)
137137

138-
@Test def dotc = compileDir(toolsDir, "dotc", "-deep" :: allowDeepSubtypes ++ twice) // note the -deep argument
139138

139+
@Test def dotty = compileDir(sourceDir, "", "-deep" :: allowDeepSubtypes ++ twice) // note the -deep argument
140140
@Test def dotc_ast = compileDir(dotcDir, "ast")
141141
@Test def dotc_config = compileDir(dotcDir, "config")
142142
@Test def dotc_core = compileDir(dotcDir, "core")("-Yno-double-bindings" :: allowDeepSubtypes)// twice omitted to make tests run faster

0 commit comments

Comments
 (0)