You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scalatest-test/src/test/scala/org/scalatest/tools/FrameworkSuite.scala
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1096,7 +1096,7 @@ class FrameworkSuite extends FunSuite {
1096
1096
assert(iae.getMessage ==="-P without specifying <numthreads> is not supported when running ScalaTest from sbt, please use sbt parallel configuration instead.")
1097
1097
}
1098
1098
1099
-
test("Framework.runner accept without problem when -P 4 is passed in") {
1099
+
test("Framework.runner accept without problem when -P4 is passed in") {
Copy file name to clipboardExpand all lines: scalatest/src/main/scala/org/scalatest/tools/Runner.scala
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,11 @@ private[tools] case class SlowpokeConfig(delayInMillis: Long, periodInMillis: Lo
153
153
* <tr><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><code>-R <em><runpath elements></em></code></td><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center">the <a href="#specifyingARunpath">specifies the <em>runpath</em></a> from which tests classes will be<br/>discovered and loaded (Note: only one <code>-R</code> allowed)</td><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><em>Unix</em>: <code>-R target/classes:target/generated/classes</code><br/><em>Windows</em>: <code>-R target\classes;target\generated\classes</code></td></tr>
154
154
* <tr><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><code>-n <em><tag name></em></code></td><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><a href="#specifyingTagsToIncludeAndExclude">specifies a tag to include</a> (Note: only one tag name allowed per <code>-n</code>)</td><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><code>-n UnitTests -n FastTests</code></td></tr>
155
155
* <tr><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><code>-l <em><tag name></em></code></td><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><a href="#specifyingTagsToIncludeAndExclude">specifies a tag to exclude</a> (Note: only one tag name allowed per <code>-l</code>)</td><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><code>-l SlowTests -l PerfTests</code></td></tr>
156
+
<<<<<<< HEAD
156
157
* <tr><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><code>-P<em>[CS][integer thread count]</em></code></td><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><a href="#executingSuitesInParallel">specifies a parallel run</a>, with optional cached thread pool, suite sorting and thread count<br/>(Note: only one <code>-P</code> allowed)</td><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><code>-P</code>, <code>-PS</code>, <code>-PS8</code>, <code>-P8</code>, <code>-PC</code> <em>or</em> <code>-PCS</code>. Negative or zero number of thread count is not allowed.</td></tr>
158
+
=======
159
+
* <tr><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><code>-P<em>[S][integer thread count]</em></code></td><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><a href="#executingSuitesInParallel">specifies a parallel run</a>, with optional suite sorting and thread count<br/>(Note: only one <code>-P</code> allowed)</td><td style="border-width: 1px; padding: 3px; border: 1px solid black; text-align: center"><code>-P</code>, <code>-PS</code>, <code>-PS8</code>, <code>-P8</code>, <code>-PS-8</code> <em>or</em> <code>-PS-8</code>. Specify a negative number if you would like to use Executors.newCachedThreadPool.</td></tr>
160
+
>>>>>>> 4bf710921... Made -P to accept negative thread count, which when passed in will use Executors.newCachedThreadPool.
0 commit comments