File tree 4 files changed +14
-14
lines changed
4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ class tests extends CompilerTest {
14
14
// "-Yshow-suppressed-errors",
15
15
" -pagewidth" , " 160" )
16
16
17
- val posDir = " /Users/odersky/workspace/dotty /tests/pos/"
18
- val negDir = " /Users/odersky/workspace/dotty /tests/neg/"
19
- val dotcDir = " /Users/odersky/workspace/dotty /src/dotty/"
17
+ val posDir = " . /tests/pos/"
18
+ val negDir = " . /tests/neg/"
19
+ val dotcDir = " . /src/dotty/"
20
20
21
21
@ Test def pos_Coder () = compileFile(posDir, " Coder" )
22
22
@ Test def pos_blockescapes () = compileFile(posDir, " blockescapes" )
@@ -67,4 +67,4 @@ class tests extends CompilerTest {
67
67
" -Xprompt" ))
68
68
69
69
// @Test def dotc_compilercommand = compileFile(dotcDir + "tools/dotc/config/", "CompilerCommand")
70
- }
70
+ }
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ import org.junit.Test
9
9
class ScannerTest extends DottyTest {
10
10
11
11
val blackList = List (
12
- " /Users/odersky/workspace /scala/src/scaladoc/scala/tools/nsc/doc/html/page/Index.scala" ,
13
- " /Users/odersky/workspace /scala/src/scaladoc/scala/tools/nsc/doc/html/page/Template.scala"
12
+ " .. /scala/src/scaladoc/scala/tools/nsc/doc/html/page/Index.scala" ,
13
+ " .. /scala/src/scaladoc/scala/tools/nsc/doc/html/page/Template.scala"
14
14
)
15
15
16
16
def scan (name : String ): Unit = scan(new PlainFile (name))
@@ -58,6 +58,6 @@ class ScannerTest extends DottyTest {
58
58
59
59
@ Test
60
60
def scanScala () = {
61
- scanDir(" /Users/odersky/workspace /scala/src" )
61
+ scanDir(" .. /scala/src" )
62
62
}
63
- }
63
+ }
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ object desugarPackage extends DeSugarTest {
10
10
reset()
11
11
val start = System .nanoTime()
12
12
val startNodes = Trees .ntrees
13
- parseDir(" /Users/odersky/workspace/dotty /src" )
14
- parseDir(" /Users/odersky/workspace /scala/src" )
13
+ parseDir(" . /src" )
14
+ parseDir(" .. /scala/src" )
15
15
val ms1 = (System .nanoTime() - start)/ 1000000
16
16
val nodes = Trees .ntrees
17
17
val buf = parsedTrees map desugarTree
@@ -24,4 +24,4 @@ object desugarPackage extends DeSugarTest {
24
24
// parse("/Users/odersky/workspace/scala/src/compiler/scala/tools/nsc/doc/model/ModelFactoryTypeSupport.scala")
25
25
for (i <- 0 until 10 ) test()
26
26
}
27
- }
27
+ }
Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ object parsePackage extends ParserTest {
65
65
reset()
66
66
nodes = 0
67
67
val start = System .nanoTime()
68
- parseDir(" /Users/odersky/workspace/dotty /src" )
69
- parseDir(" /Users/odersky/workspace /scala/src" )
68
+ parseDir(" . /src" )
69
+ parseDir(" .. /scala/src" )
70
70
val ms1 = (System .nanoTime() - start)/ 1000000
71
71
val buf = parsedTrees map transformer.transform
72
72
val ms2 = (System .nanoTime() - start)/ 1000000
@@ -78,4 +78,4 @@ object parsePackage extends ParserTest {
78
78
// parse("/Users/odersky/workspace/scala/src/compiler/scala/tools/nsc/doc/model/ModelFactoryTypeSupport.scala")
79
79
for (i <- 0 until 10 ) test()
80
80
}
81
- }
81
+ }
You can’t perform that action at this time.
0 commit comments