diff options
author | Paul Phillips <paulp@improving.org> | 2010-02-23 22:15:38 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-02-23 22:15:38 +0000 |
commit | 6b834672a1045e3c774b7610df6504012a678f83 (patch) | |
tree | 52768178beeb936916db0e9a6743083387ba6be2 | |
parent | 145b61f50bc6713c4e107176c076610b2ae3fac1 (diff) | |
download | scala-6b834672a1045e3c774b7610df6504012a678f83.tar.gz scala-6b834672a1045e3c774b7610df6504012a678f83.tar.bz2 scala-6b834672a1045e3c774b7610df6504012a678f83.zip |
Fixed a little command line partest bug I intro...
Fixed a little command line partest bug I introduced. No review.
-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 b10e56b50b..2d89cefe02 100644 --- a/src/partest/scala/tools/partest/nest/ConsoleRunner.scala +++ b/src/partest/scala/tools/partest/nest/ConsoleRunner.scala @@ -87,7 +87,7 @@ class ConsoleRunner extends DirectRunner { val enabledTestSets = { val enabledArgs = testSetArgs filter parsed.isSet - if (enabledArgs.isEmpty || (parsed isSet "--all")) testSets + if (args.isEmpty && (enabledArgs.isEmpty || (parsed isSet "--all"))) testSets else enabledArgs map testSetArgMap } |