diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2013-08-16 22:05:49 +0200 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2013-08-16 22:05:49 +0200 |
commit | 645019ed261ba94aa1e7f9ce2002f0e01044484d (patch) | |
tree | 510a6099d7cd21e88b8ba6f5a0bc6f7a41f8044c /src/partest | |
parent | 0a0c8aef93adcfaae75c0c056c360fa9d4ffb50c (diff) | |
download | scala-645019ed261ba94aa1e7f9ce2002f0e01044484d.tar.gz scala-645019ed261ba94aa1e7f9ce2002f0e01044484d.tar.bz2 scala-645019ed261ba94aa1e7f9ce2002f0e01044484d.zip |
SI-7704 Fix partest's test category selection (again)
Looks like multiple, different fixes for this issue managed to break it
again.
Diffstat (limited to 'src/partest')
-rw-r--r-- | src/partest/scala/tools/partest/nest/ConsoleRunner.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/nest/ConsoleRunner.scala b/src/partest/scala/tools/partest/nest/ConsoleRunner.scala index 17c0b74cb7..8189446162 100644 --- a/src/partest/scala/tools/partest/nest/ConsoleRunner.scala +++ b/src/partest/scala/tools/partest/nest/ConsoleRunner.scala @@ -133,7 +133,7 @@ class ConsoleRunner(argstr: String) extends { val rerunTests = if (isRerun) TestKinds.failedTests else Nil def miscTests = partestTests ++ individualTests ++ greppedTests ++ rerunTests - val givenKinds = standardKinds filter (parsed isSet "--" + _) + val givenKinds = standardKinds filter parsed.isSet val kinds = ( if (optAll) standardKinds else if (givenKinds.nonEmpty) givenKinds |