File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ update() {
2
2
[[ -d $baseDir ]] || mkdir -p $baseDir
3
3
cd $baseDir
4
4
5
- if [ ! -d $baseDir/$2 ]; then git clone "https://github.com/$1/$2.git"; fi
5
+ if [ ! -d $baseDir/$3 ]; then git clone "https://github.com/$1/$2.git" $3 ; fi
6
6
7
- cd $2
7
+ cd $3
8
8
9
9
git fetch --tags "https://github.com/$1/$2.git"
10
- (git fetch "https://github.com/$1/$2.git" $3 && git checkout -fq FETCH_HEAD) #|| git checkout -fq $3 # || fallback is for local testing on tag
10
+ (git fetch "https://github.com/$1/$2.git" $4 && git checkout -fq FETCH_HEAD) #|| git checkout -fq $4 # || fallback is for local testing on tag
11
11
git reset --hard
12
12
}
13
13
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ baseDir=${WORKSPACE-`pwd`}
4
4
scriptsDir=" $baseDir /scripts"
5
5
. $scriptsDir /common
6
6
7
- update scala scala
7
+ update scala scala scala-scala
8
8
sbt $sbtArgs update compile test
Original file line number Diff line number Diff line change @@ -58,6 +58,6 @@ class ScannerTest extends DottyTest {
58
58
59
59
@ Test
60
60
def scanScala () = {
61
- scanDir(" ./scala/src" )
61
+ scanDir(" ./scala-scala /src" )
62
62
}
63
63
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ object desugarPackage extends DeSugarTest {
11
11
val start = System .nanoTime()
12
12
val startNodes = Trees .ntrees
13
13
parseDir(" ./src" )
14
- parseDir(" ./scala/src" )
14
+ parseDir(" ./scala-scala /src" )
15
15
val ms1 = (System .nanoTime() - start)/ 1000000
16
16
val nodes = Trees .ntrees
17
17
val buf = parsedTrees map desugarTree
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ object parsePackage extends ParserTest {
66
66
nodes = 0
67
67
val start = System .nanoTime()
68
68
parseDir(" ./src" )
69
- parseDir(" ./scala/src" )
69
+ parseDir(" ./scala-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
You can’t perform that action at this time.
0 commit comments