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

Unified Diff: test/checker/self_host_test.dart

Issue 1235503010: fixes #219, able to compile multiple entry points (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
Index: test/checker/self_host_test.dart
diff --git a/test/checker/self_host_test.dart b/test/checker/self_host_test.dart
index 94aa40fee527443e230e4b04ffe19ded12573e15..a909d06fac92f516d30d0a0d8d919565e6c1d482 100644
--- a/test/checker/self_host_test.dart
+++ b/test/checker/self_host_test.dart
@@ -3,20 +3,16 @@
// BSD-style license that can be found in the LICENSE file.
/// Tests that run the checker end-to-end using the file system.
-library dev_compiler.test.end_to_end;
+library dev_compiler.test.checker.self_host_test;
-import 'package:cli_util/cli_util.dart' show getSdkDir;
-import 'package:dev_compiler/devc.dart' show Compiler;
+import 'package:dev_compiler/devc.dart' show BatchCompiler;
import 'package:dev_compiler/src/options.dart';
import 'package:test/test.dart';
-import '../test_util.dart' show testDirectory;
+import '../testing.dart' show testDirectory, realSdkContext;
void main() {
test('checker can run on itself ', () {
- var options = new CompilerOptions(
- sourceOptions: new SourceResolverOptions(
- entryPointFile: '$testDirectory/all_tests.dart',
- dartSdkPath: getSdkDir().path));
- new Compiler(options).run();
- });
+ new BatchCompiler(realSdkContext, new CompilerOptions())
+ .compileFromUriString('$testDirectory/all_tests.dart');
+ }, skip: 'test is very slow');
}

Powered by Google App Engine
This is Rietveld 408576698