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

Unified Diff: test/codegen_test.dart

Issue 961493003: don't run dart gen on JS patch code (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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 | test/dart_codegen/expect/_internal/list.dart » ('j') | 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 c357983866a7c6120759f8c3f2bfb822155a1ea9..9b93a27cae6f230d3cd176b1822b6df062a9ef73 100644
--- a/test/codegen_test.dart
+++ b/test/codegen_test.dart
@@ -119,7 +119,9 @@ main(arguments) {
forceCompile: true,
outputDart: dartGen,
formatOutput: dartGen);
- var sdkPath = path.join(testDir, 'generated_sdk');
+ var sdkPath = dartGen
+ ? path.join(testDir, '..', 'tool', 'input_sdk_src')
+ : path.join(testDir, 'generated_sdk');
var testSdk = new TypeResolver.fromDir(sdkPath, options);
var result = compile('dart:core', testSdk, options);
var outputDir = new Directory(path.join(actualDir, 'core'));
« no previous file with comments | « no previous file | test/dart_codegen/expect/_internal/list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698