Skip to content

Commit 6f6d973

Browse files
authored
Merge pull request #7232 from dotty-staging/fix-scripted-2
Fix sbt scripted test after #7164
2 parents fa3c006 + b3a7025 commit 6f6d973

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.drone.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ steps:
4949
depends_on: [ clone ]
5050
commands:
5151
- cp -R . /tmp/3/ && cd /tmp/3/
52+
- git submodule sync
5253
- git submodule update --init --recursive --jobs 7
5354
- ./project/scripts/sbt community-build/test
5455

compiler/test/dotty/tools/dotc/BootstrappedOnlyCompilationTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class BootstrappedOnlyCompilationTests extends ParallelTesting {
2121

2222
// Test suite configuration --------------------------------------------------
2323

24-
def maxDuration = 30.seconds
24+
def maxDuration = 60.seconds
2525
def numberOfSlaves = 5
2626
def safeMode = Properties.testsSafeMode
2727
def isInteractive = SummaryReport.isInteractive

sbt-dotty/sbt-test/sbt-dotty/analyzer-plugin/plugin/Analyzer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class InitChecker extends PluginPhase {
6161
ctx.warning("tree: " + tree.symbol.defTree.show)
6262
}
6363
else {
64-
ctx.warning(tree.symbol + " is neither in lib nor hello, owner = " + enclosingPkg, tree.sourcePos)
64+
ctx.warning(s"${tree.symbol} is neither in lib nor hello, owner = $enclosingPkg", tree.sourcePos)
6565
}
6666
tree
6767
}
@@ -83,4 +83,4 @@ class InitChecker extends PluginPhase {
8383
}
8484
tree
8585
}
86-
}
86+
}

0 commit comments

Comments
 (0)