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

Unified Diff: test/kernel/kernel_test.dart

Issue 2194163002: Change default binary file extension to .dill (Closed) Base URL: git@github.com:dart-lang/rasta.git@private_names
Patch Set: Created 4 years, 5 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 | « submodules.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/kernel_test.dart
diff --git a/test/kernel/kernel_test.dart b/test/kernel/kernel_test.dart
index 19a24867867403d06f891aa92f8e8a6b1979517f..dec40f89abe98c71287531290ff57b3e4a20c9f5 100644
--- a/test/kernel/kernel_test.dart
+++ b/test/kernel/kernel_test.dart
@@ -51,7 +51,7 @@ Future<Null> addRegressions(Map<Uri, Uri> tests, Uri temp) async {
Stream<TestDescription> regressions = listTests(
<Uri>[Uri.base.resolve("test/kernel/regression/")], pattern: ".dart");
await for (TestDescription regression in regressions) {
- tests[regression.uri] = temp.resolve("${regression.shortName}.bart");
+ tests[regression.uri] = temp.resolve("${regression.shortName}.dill");
kasperl 2016/08/02 06:26:12 It's almost like you should put the extension in a
ahe 2016/08/02 11:36:47 Done. I'm not sure its nicer.
}
}
@@ -69,10 +69,10 @@ Future<Null> runTests(Rastask task) async {
// directory.
Uri temp = Platform.script;
Map<Uri, Uri> tests = <Uri, Uri>{
- Uri.parse("dart:core"): temp.resolve("core.bart"),
+ Uri.parse("dart:core"): temp.resolve("core.dill"),
Uri.parse("package:compiler/src/dart2js.dart"):
- temp.resolve("dart2js.bart"),
+ temp.resolve("dart2js.dill"),
};
await addRegressions(tests, temp);
@@ -89,12 +89,12 @@ Future<Null> runTests(Rastask task) async {
bool isRegression = source.path.contains("/regression/");
print("Rastarizing $source");
- Uri bart = tests[source];
- File output = new File.fromUri(bart);
+ Uri dill = tests[source];
+ File output = new File.fromUri(dill);
await output.parent.create(recursive: true);
Options options = new Options(
- source, bart, dependenciesFile: null,
+ source, dill, dependenciesFile: null,
generateLibrary: isRegression ? isRegression : null,
isVerbose: true, isBatch: false, pattern: null);
@@ -115,7 +115,7 @@ Future<Null> runTests(Rastask task) async {
outcome = await checkAgainstExpectations(node);
}
if (outcome == Expectation.PASS) {
- outcome = checkRoundTrip(bart);
+ outcome = checkRoundTrip(dill);
}
Set<Expectation> expectedOutcomes = isRegression
« no previous file with comments | « submodules.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698