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

Unified Diff: tests/compiler/dart2js/closure/closure_test.dart

Issue 3003323002: Prepare inference test for kernel based inference (Closed)
Patch Set: Updated cf. comments Created 3 years, 4 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 | tests/compiler/dart2js/equivalence/id_equivalence_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/closure/closure_test.dart
diff --git a/tests/compiler/dart2js/closure/closure_test.dart b/tests/compiler/dart2js/closure/closure_test.dart
index 79760ef505c754822e976934c5891bf086d61a38..9f067e3b46ef4195e137f159588e16b743a8c046 100644
--- a/tests/compiler/dart2js/closure/closure_test.dart
+++ b/tests/compiler/dart2js/closure/closure_test.dart
@@ -24,23 +24,10 @@ main(List<String> args) {
bool verbose = args.contains('-v');
asyncTest(() async {
Directory dataDir = new Directory.fromUri(Platform.script.resolve('data'));
- await for (FileSystemEntity entity in dataDir.list()) {
- print('----------------------------------------------------------------');
- print('Checking ${entity.uri}');
- print('----------------------------------------------------------------');
- String annotatedCode = await new File.fromUri(entity.uri).readAsString();
- print('--from source---------------------------------------------------');
- await checkCode(annotatedCode, computeClosureData, compileFromSource,
- verbose: verbose);
- // TODO(johnnniwinther,efortuna): Enable the these tests for .dill.
- if (['captured_variable.dart'].contains(entity.uri.pathSegments.last)) {
- print('--skipped for dill--------------------------------------------');
- continue;
- }
- print('--from dill-----------------------------------------------------');
- await checkCode(annotatedCode, computeKernelClosureData, compileFromDill,
- verbose: verbose);
- }
+ await checkTests(dataDir, computeClosureData, computeKernelClosureData,
+ // TODO(johnnniwinther,efortuna): Enable these tests for .dill.
+ skipForKernel: ['captured_variable.dart'],
+ verbose: verbose);
});
}
« no previous file with comments | « no previous file | tests/compiler/dart2js/equivalence/id_equivalence_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698