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

Unified Diff: pkg/front_end/test/fasta/dart2js_test.dart

Issue 2693893002: Add a new kind of suite to ease test.dart integration. (Closed)
Patch Set: Fix Linux and Windows paths. Created 3 years, 10 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 | « no previous file | pkg/front_end/test/fasta/testing.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/fasta/dart2js_test.dart
diff --git a/pkg/front_end/test/fasta/dart2js_test.dart b/pkg/front_end/test/fasta/dart2js_test.dart
deleted file mode 100644
index 42812a86ad8c10271afba4f1a470ec5c9ad2e261..0000000000000000000000000000000000000000
--- a/pkg/front_end/test/fasta/dart2js_test.dart
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE.md file.
-
-library fasta.test.dart2js_test;
-
-import 'package:test_dart/test_configurations.dart' show
- testConfigurations;
-
-import 'package:test_dart/test_options.dart' show
- TestOptionsParser;
-
-import 'package:test_dart/test_suite.dart' show
- TestUtils;
-
-const String arch = "-ax64";
-
-const String mode = "-mrelease";
-
-const String processes = "-j16";
-
-const String dart2jsV8 = "-cdart2js -rd8";
-
-const String common =
- // --dart2js-batch is ignored unless set in the first configuration.
- "--dart2js-batch --time -pcolor --report --failure-summary";
-
-main(List<String> arguments) {
- if (arguments.join(" ") != "--run-tests") {
- // Protect against being run from test.dart.
- print("Usage: dart2js_test.dart --run-tests");
- return;
- }
- TestUtils.setDartDirUri(Uri.base);
- List<String> commandLines = <String>[
- "--checked dart2js",
- "$dart2jsV8 --exclude-suite=observatory_ui",
- "$dart2jsV8 dart2js_extra dart2js_native",
- ];
- List<Map> configurations = <Map>[];
- for (String commandLine in commandLines) {
- List<String> arguments = <String>[arch, mode, processes]
- ..addAll("$common $commandLine".split(" "));
- TestOptionsParser optionsParser = new TestOptionsParser();
- configurations.addAll(optionsParser.parse(arguments));
- }
- testConfigurations(configurations);
-}
« no previous file with comments | « no previous file | pkg/front_end/test/fasta/testing.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698