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

Unified Diff: test/codegen_test.dart

Issue 1946853002: Split status by lib (Closed) Base URL: https://github.com/dart-lang/dev_compiler@master
Patch Set: Created 4 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 | « test/browser/language_tests.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_test.dart
diff --git a/test/codegen_test.dart b/test/codegen_test.dart
index 7495897faca368ff52f21f71d99bd21354e9dfaf..440a3fcaf0cc74b65f63aff7a4355f032416f33c 100644
--- a/test/codegen_test.dart
+++ b/test/codegen_test.dart
@@ -98,9 +98,10 @@ main(arguments) {
// Collect any other files we've imported.
var files = new Set<String>();
_collectTransitiveImports(contents, files, from: filePath);
-
+ var moduleName =
+ path.withoutExtension(path.relative(filePath, from: inputDir));
var unit = new BuildUnit(
- filename, baseDir, files.toList(), _moduleForLibrary);
+ moduleName, baseDir, files.toList(), _moduleForLibrary);
var module = compiler.compile(unit, options);
_writeModule(path.join(outDir.path, filename), module);
});
« no previous file with comments | « test/browser/language_tests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698