summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-02-23 22:15:38 +0000
committerPaul Phillips <paulp@improving.org>2010-02-23 22:15:38 +0000
commit6b834672a1045e3c774b7610df6504012a678f83 (patch)
tree52768178beeb936916db0e9a6743083387ba6be2 /src
parent145b61f50bc6713c4e107176c076610b2ae3fac1 (diff)
downloadscala-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.
Diffstat (limited to 'src')
-rw-r--r--src/partest/scala/tools/partest/nest/ConsoleRunner.scala2
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
}