Skip to content

Commit 8b1f370

Browse files
gliptakbvenners
authored andcommitted
Change parallel flag to '-P'
1 parent 1eee0e3 commit 8b1f370

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/org/scalatest/tools/maven/AbstractScalaTestMojo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ private List<String> tagsToExclude() {
441441
}
442442

443443
private List<String> parallel() {
444-
return parallel ? singletonList("-c") : Collections.<String>emptyList();
444+
return parallel ? singletonList("-P") : Collections.<String>emptyList();
445445
}
446446

447447
//

src/test/scala/org/scalatest/tools/maven/PluginTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ final class PluginTest
107107
}
108108

109109
def testConcurrent {
110-
configure(_.parallel = true) should contain("-c")
111-
configure(_.parallel = false) should not contain ("-c")
110+
configure(_.parallel = true) should contain("-P")
111+
configure(_.parallel = false) should not contain ("-P")
112112
}
113113

114114
def testSuites {

0 commit comments

Comments
 (0)