Index: pkg/kernel/test/verify_self_check.dart |
diff --git a/pkg/kernel/test/parent_pointer_test_disabled.dart b/pkg/kernel/test/verify_self_check.dart |
similarity index 65% |
rename from pkg/kernel/test/parent_pointer_test_disabled.dart |
rename to pkg/kernel/test/verify_self_check.dart |
index 292022767de461d43bf31d9c25789ad9eb6f5405..a9ccbb817d51749f9bcd247eb2eb47dac7bfb239 100644 |
--- a/pkg/kernel/test/parent_pointer_test_disabled.dart |
+++ b/pkg/kernel/test/verify_self_check.dart |
@@ -1,10 +1,14 @@ |
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
+ |
import 'package:kernel/kernel.dart'; |
import 'package:kernel/verifier.dart'; |
-main() { |
- Program program = loadProgramFromBinary('test/data/dart2js.dill'); |
- CheckParentPointers.check(program); |
+import 'self_check_util.dart'; |
+ |
+main(List<String> args) { |
+ runSelfCheck(args, (String filename) { |
+ verifyProgram(loadProgramFromBinary(filename)); |
+ }); |
} |