@@ -22,7 +22,7 @@ class tests extends CompilerTest {
22
22
// tests that match regex '(pos|dotc|run|java|compileStdLib)\.*' would be
23
23
// executed as benchmarks.
24
24
25
- val defaultOutputDir = " ../ out/"
25
+ val defaultOutputDir = " out/"
26
26
27
27
val noCheckOptions = List (
28
28
// "-verbose",
@@ -85,7 +85,7 @@ class tests extends CompilerTest {
85
85
val explicitUTF8 = List (" -encoding" , " UTF8" )
86
86
val explicitUTF16 = List (" -encoding" , " UTF16" )
87
87
88
- val testsDir = " ../ tests/"
88
+ val testsDir = " tests/"
89
89
val posDir = testsDir + " pos/"
90
90
val posSpecialDir = testsDir + " pos-special/"
91
91
val posScala2Dir = testsDir + " pos-scala2/"
@@ -94,7 +94,7 @@ class tests extends CompilerTest {
94
94
val newDir = testsDir + " new/"
95
95
val javaDir = testsDir + " pos-java-interop/"
96
96
97
- val sourceDir = " . /src/"
97
+ val sourceDir = " compiler /src/"
98
98
val dottyDir = sourceDir + " dotty/"
99
99
val toolsDir = dottyDir + " tools/"
100
100
val backendDir = toolsDir + " backend/"
@@ -103,7 +103,7 @@ class tests extends CompilerTest {
103
103
val parsingDir = dotcDir + " parsing/"
104
104
val dottyReplDir = dotcDir + " repl/"
105
105
val typerDir = dotcDir + " typer/"
106
- val libDir = " ../ library/src/"
106
+ val libDir = " library/src/"
107
107
108
108
def dottyBootedLib = compileDir(libDir, " ." , List (" -deep" , " -Ycheck-reentrant" , " -strict" ))(allowDeepSubtypes) // note the -deep argument
109
109
def dottyDependsOnBootedLib = compileDir(dottyDir, " ." , List (" -deep" , " -Ycheck-reentrant" ))(allowDeepSubtypes) // note the -deep argument
@@ -218,19 +218,19 @@ class tests extends CompilerTest {
218
218
compileList(" compileStdLib" , stdlibFiles, " -migration" :: " -Yno-inline" :: scala2mode)
219
219
220
220
@ 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" )
230
230
@ 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)
234
234
235
235
@ Test def dottyBooted = {
236
236
dottyBootedLib
0 commit comments