File tree Expand file tree Collapse file tree 8 files changed +41
-3
lines changed
tests/pending/run/byNameVarargs Expand file tree Collapse file tree 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 {
5858
5959 @ Test
6060 def scanScala () = {
61- scanDir(" .. /scala/src" )
61+ scanDir(" ./scala/src" )
6262 }
6363}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ object desugarPackage extends DeSugarTest {
1111 val start = System .nanoTime()
1212 val startNodes = Trees .ntrees
1313 parseDir(" ./src" )
14- parseDir(" .. /scala/src" )
14+ parseDir(" ./scala/src" )
1515 val ms1 = (System .nanoTime() - start)/ 1000000
1616 val nodes = Trees .ntrees
1717 val buf = parsedTrees map desugarTree
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ object parsePackage extends ParserTest {
6666 nodes = 0
6767 val start = System .nanoTime()
6868 parseDir(" ./src" )
69- parseDir(" .. /scala/src" )
69+ parseDir(" ./scala/src" )
7070 val ms1 = (System .nanoTime() - start)/ 1000000
7171 val buf = parsedTrees map transformer.transform
7272 val ms2 = (System .nanoTime() - start)/ 1000000
File renamed without changes.
You can’t perform that action at this time.
0 commit comments