File tree 8 files changed +41
-3
lines changed
tests/pending/run/byNameVarargs
8 files changed +41
-3
lines changed Original file line number Diff line number Diff line change
1
+ update() {
2
+ [[ -d $baseDir ]] || mkdir -p $baseDir
3
+ cd $baseDir
4
+
5
+ if [ ! -d $baseDir/$2 ]; then git clone "https://github.com/$1/$2.git"; fi
6
+
7
+ cd $2
8
+
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
11
+ git reset --hard
12
+ }
13
+
14
+ sbtArgs="-Ddotty.travis.build=yes -ivy $baseDir/ivy2 -Dsbt.global.base=$HOME/.sbt/0.13 -sbt-dir $HOME/.sbt/0.13"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -e
2
+
3
+ baseDir=${WORKSPACE-`pwd`}
4
+ scriptsDir=" $baseDir /scripts"
5
+ . $scriptsDir /common
6
+
7
+ update scala scala
8
+ sbt $sbtArgs update compile test
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -e
2
+
3
+ baseDir=${WORKSPACE-`pwd`}
4
+ scriptsDir=" $baseDir /scripts"
5
+ . $scriptsDir /common
6
+
7
+ sbt $sbtArgs update compile " partest run"
8
+
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -e
2
+
3
+ baseDir=${WORKSPACE-`pwd`}
4
+ scriptsDir=" $baseDir /scripts"
5
+ . $scriptsDir /common
6
+
7
+ sbt $sbtArgs scalastyle
8
+
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/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/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/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
File renamed without changes.
You can’t perform that action at this time.
0 commit comments