diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2016-11-22 13:38:10 +0100 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2016-11-22 16:22:24 +0100 |
commit | e5bd55758a4a1fd95fb66a4938d213204adebae6 (patch) | |
tree | ca435782c123d12a1b764754beb401f583624bd5 /compiler/test/dotty/partest/DPConsoleRunner.scala | |
parent | 5378076302de94d8db64d00652c89eeacbd2649c (diff) | |
download | dotty-e5bd55758a4a1fd95fb66a4938d213204adebae6.tar.gz dotty-e5bd55758a4a1fd95fb66a4938d213204adebae6.tar.bz2 dotty-e5bd55758a4a1fd95fb66a4938d213204adebae6.zip |
increase threads to 2 in reduced threads cases
Diffstat (limited to 'compiler/test/dotty/partest/DPConsoleRunner.scala')
-rw-r--r-- | compiler/test/dotty/partest/DPConsoleRunner.scala | 6 |
1 files changed, 3 insertions, 3 deletions
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]() |