Index: lib/src/executable.dart |
diff --git a/lib/src/executable.dart b/lib/src/executable.dart |
index e774dc43f545816de81ac4ec01c8989ab3d575bb..843b47fd84bcae4bdad6adba9616ea0b05cefc7a 100644 |
--- a/lib/src/executable.dart |
+++ b/lib/src/executable.dart |
@@ -72,6 +72,9 @@ bool get _usesTransformer { |
} |
void main(List<String> args) { |
+ var allPlatforms = TestPlatform.all.toList(); |
+ if (!Platform.isMacOS) allPlatforms.remove(TestPlatform.safari); |
+ |
_parser.addFlag("help", abbr: "h", negatable: false, |
help: "Shows this usage information."); |
_parser.addFlag("version", negatable: false, |
@@ -87,7 +90,7 @@ void main(List<String> args) { |
_parser.addOption("platform", |
abbr: 'p', |
help: 'The platform(s) on which to run the tests.', |
- allowed: TestPlatform.all.map((platform) => platform.identifier).toList(), |
+ allowed: allPlatforms.map((platform) => platform.identifier).toList(), |
defaultsTo: 'vm', |
allowMultiple: true); |
_parser.addOption("concurrency", |