Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Unified Diff: test/runner/runner_test.dart

Issue 1058143006: Fix the list of browsers on non-Mac platforms. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/runner_test.dart
diff --git a/test/runner/runner_test.dart b/test/runner/runner_test.dart
index 68a00a2b0c471fc026d3944563ddafa93be564fc..910f98f7b4d29e6fd462e9131d41f1987ba23061 100644
--- a/test/runner/runner_test.dart
+++ b/test/runner/runner_test.dart
@@ -38,6 +38,10 @@ void main() {
final _defaultConcurrency = math.max(1, Platform.numberOfProcessors ~/ 2);
+final _browsers =
+ "[vm (default), dartium, content-shell, chrome, phantomjs, firefox" +
+ (Platform.isMacOS ? ", safari" : "") + "]";
+
final _usage = """
Usage: pub run test:test [files or directories...]
@@ -48,7 +52,7 @@ Usage: pub run test:test [files or directories...]
-N, --plain-name A plain-text substring of the name of the test to run.
-p, --platform The platform(s) on which to run the tests.
- [vm (default), dartium, content-shell, chrome, phantomjs, firefox, safari]
+ $_browsers
-j, --concurrency=<threads> The number of concurrent test suites run.
(defaults to $_defaultConcurrency)
« no previous file with comments | « pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698