@@ -22,7 +22,7 @@ class tests extends CompilerTest {
2222 // tests that match regex '(pos|dotc|run|java|compileStdLib)\.*' would be
2323 // executed as benchmarks.
2424
25- val defaultOutputDir = " ../ out/"
25+ val defaultOutputDir = " out/"
2626
2727 val noCheckOptions = List (
2828// "-verbose",
@@ -85,7 +85,7 @@ class tests extends CompilerTest {
8585 val explicitUTF8 = List (" -encoding" , " UTF8" )
8686 val explicitUTF16 = List (" -encoding" , " UTF16" )
8787
88- val testsDir = " ../ tests/"
88+ val testsDir = " tests/"
8989 val posDir = testsDir + " pos/"
9090 val posSpecialDir = testsDir + " pos-special/"
9191 val posScala2Dir = testsDir + " pos-scala2/"
@@ -94,7 +94,7 @@ class tests extends CompilerTest {
9494 val newDir = testsDir + " new/"
9595 val javaDir = testsDir + " pos-java-interop/"
9696
97- val sourceDir = " . /src/"
97+ val sourceDir = " compiler /src/"
9898 val dottyDir = sourceDir + " dotty/"
9999 val toolsDir = dottyDir + " tools/"
100100 val backendDir = toolsDir + " backend/"
@@ -103,7 +103,7 @@ class tests extends CompilerTest {
103103 val parsingDir = dotcDir + " parsing/"
104104 val dottyReplDir = dotcDir + " repl/"
105105 val typerDir = dotcDir + " typer/"
106- val libDir = " ../ library/src/"
106+ val libDir = " library/src/"
107107
108108 def dottyBootedLib = compileDir(libDir, " ." , List (" -deep" , " -Ycheck-reentrant" , " -strict" ))(allowDeepSubtypes) // note the -deep argument
109109 def dottyDependsOnBootedLib = compileDir(dottyDir, " ." , List (" -deep" , " -Ycheck-reentrant" ))(allowDeepSubtypes) // note the -deep argument
@@ -218,19 +218,19 @@ class tests extends CompilerTest {
218218 compileList(" compileStdLib" , stdlibFiles, " -migration" :: " -Yno-inline" :: scala2mode)
219219
220220 @ Test def compileMixed = compileLine(
221- """ ../ tests/pos/B.scala
222- |../ scala2-library/src/library/scala/collection/immutable/Seq.scala
223- |../ scala2-library/src/library/scala/collection/parallel/ParSeq.scala
224- |../ scala2-library/src/library/scala/package.scala
225- |../ scala2-library/src/library/scala/collection/GenSeqLike.scala
226- |../ scala2-library/src/library/scala/collection/SeqLike.scala
227- |../ scala2-library/src/library/scala/collection/generic/GenSeqFactory.scala""" .stripMargin)(scala2mode ++ defaultOptions)
228- @ Test def compileIndexedSeq = compileLine(" ../ scala2-library/src/library/scala/collection/immutable/IndexedSeq.scala" )
229- @ Test def compileParSetLike = compileLine(" ../ scala2-library/src/library/scala/collection/parallel/mutable/ParSetLike.scala" )
221+ """ tests/pos/B.scala
222+ |scala2-library/src/library/scala/collection/immutable/Seq.scala
223+ |scala2-library/src/library/scala/collection/parallel/ParSeq.scala
224+ |scala2-library/src/library/scala/package.scala
225+ |scala2-library/src/library/scala/collection/GenSeqLike.scala
226+ |scala2-library/src/library/scala/collection/SeqLike.scala
227+ |scala2-library/src/library/scala/collection/generic/GenSeqFactory.scala""" .stripMargin)(scala2mode ++ defaultOptions)
228+ @ Test def compileIndexedSeq = compileLine(" scala2-library/src/library/scala/collection/immutable/IndexedSeq.scala" )
229+ @ Test def compileParSetLike = compileLine(" scala2-library/src/library/scala/collection/parallel/mutable/ParSetLike.scala" )
230230 @ Test def compileParSetSubset = compileLine(
231- """ ../ scala2-library/src/library/scala/collection/parallel/mutable/ParSetLike.scala
232- |../ scala2-library/src/library/scala/collection/parallel/mutable/ParSet.scala
233- |../ scala2-library/src/library/scala/collection/mutable/SetLike.scala""" .stripMargin)(scala2mode ++ defaultOptions)
231+ """ scala2-library/src/library/scala/collection/parallel/mutable/ParSetLike.scala
232+ |scala2-library/src/library/scala/collection/parallel/mutable/ParSet.scala
233+ |scala2-library/src/library/scala/collection/mutable/SetLike.scala""" .stripMargin)(scala2mode ++ defaultOptions)
234234
235235 @ Test def dottyBooted = {
236236 dottyBootedLib
0 commit comments