diff options
-rw-r--r-- | .drone.yml | 1 | ||||
-rw-r--r-- | compiler/test/dotty/partest/DPConsoleRunner.scala | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/.drone.yml b/.drone.yml index 78fb0f454..1a1af8b88 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,3 +10,4 @@ matrix: - test - partest-only-no-bootstrap --show-diff --verbose - partest-only --show-diff --verbose + - scripted diff --git a/compiler/test/dotty/partest/DPConsoleRunner.scala b/compiler/test/dotty/partest/DPConsoleRunner.scala index 06a36f661..363012683 100644 --- a/compiler/test/dotty/partest/DPConsoleRunner.scala +++ b/compiler/test/dotty/partest/DPConsoleRunner.scala @@ -105,9 +105,9 @@ extends SuiteRunner(testSourcePath, fileManager, updateCheck, failed, javaCmdPat val seqResults = if (!sequentialTests.isEmpty) { val savedThreads = sys.props("partest.threads") - sys.props("partest.threads") = "1" + sys.props("partest.threads") = "2" - NestUI.echo(s"## we will run ${sequentialTests.length} tests sequentially") + NestUI.echo(s"## we will run ${sequentialTests.length} tests using ${PartestDefaults.numThreads} thread(s)") val res = super.runTestsForFiles(sequentialTests, kind) if (savedThreads != null) @@ -120,7 +120,7 @@ extends SuiteRunner(testSourcePath, fileManager, updateCheck, failed, javaCmdPat val parResults = if (!parallelTests.isEmpty) { - NestUI.echo(s"## we will run ${parallelTests.length} tests in parallel using ${PartestDefaults.numThreads} threads") + NestUI.echo(s"## we will run ${parallelTests.length} tests in parallel using ${PartestDefaults.numThreads} thread(s)") super.runTestsForFiles(parallelTests, kind) } else Array[TestState]() |