Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit d27865c

Browse files
gkossakowskiadriaanm
authored andcommitted
Fix test kind detection
1 parent 3052efe commit d27865c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scala/tools/partest/nest/ConsoleRunner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class ConsoleRunner(argstr: String) extends {
134134
val rerunTests = if (isRerun) TestKinds.failedTests else Nil
135135
def miscTests = partestTests ++ individualTests ++ greppedTests ++ rerunTests
136136

137-
val givenKinds = standardKinds filter parsed.isSet
137+
val givenKinds = standardKinds.filter(kind => parsed.isSet("--" + kind))
138138
val kinds = (
139139
if (optAll) standardKinds
140140
else if (givenKinds.nonEmpty) givenKinds

0 commit comments

Comments
 (0)