Index: test/codegen_test.dart |
diff --git a/test/codegen_test.dart b/test/codegen_test.dart |
index 54c8852fc41a402667e4f548a237380932797773..e8dc5eb91a73cbbb1ee7159f132a7c1df3dc2505 100644 |
--- a/test/codegen_test.dart |
+++ b/test/codegen_test.dart |
@@ -62,13 +62,16 @@ main(arguments) { |
// they're more self-contained. |
var runtimeDir = path.join(path.dirname(testDirectory), 'lib', 'runtime'); |
var options = new CompilerOptions( |
- outputDir: subDir == null ? actualDir : path.join(actualDir, subDir), |
+ sourceOptions: new SourceResolverOptions( |
+ entryPointFile: entryPoint, dartSdkPath: sdkPath), |
+ codegenOptions: new CodegenOptions( |
+ outputDir: subDir == null |
+ ? actualDir |
+ : path.join(actualDir, subDir), |
+ emitSourceMaps: sourceMaps, |
+ forceCompile: checkSdk), |
useColors: false, |
- emitSourceMaps: sourceMaps, |
- forceCompile: checkSdk, |
checkSdk: checkSdk, |
- entryPointFile: entryPoint, |
- dartSdkPath: sdkPath, |
runtimeDir: runtimeDir, |
serverMode: serverMode, |
enableHashing: serverMode); |