From 6b834672a1045e3c774b7610df6504012a678f83 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 23 Feb 2010 22:15:38 +0000 Subject: Fixed a little command line partest bug I intro... Fixed a little command line partest bug I introduced. No review. --- src/partest/scala/tools/partest/nest/ConsoleRunner.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 } -- cgit v1.2.3