Switch the defaults: strong mode is now default, but we stil check tests in Dart mode.

R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2938943003 .
This commit is contained in:
Peter von der Ahé 2017-06-15 14:16:38 +02:00
parent f71e6fd49b
commit ba2cde4607
6 changed files with 44 additions and 44 deletions

View file

@ -3,7 +3,7 @@
# BSD-style license that can be found in the LICENSE file.
analyzer:
strong-mode: false
strong-mode: true
language:
enableSuperMixins: false
errors:

View file

@ -3,7 +3,7 @@
# BSD-style license that can be found in the LICENSE file.
analyzer:
strong-mode: true
strong-mode: false
language:
enableSuperMixins: false
errors:

View file

@ -15,10 +15,17 @@
"exclude": [
"^tests/compiler/dart2js/analyze_api_test\\.dart",
"^tests/compiler/dart2js/analyze_dart2js_helpers_test\\.dart",
"^tests/compiler/dart2js/analyze_dart2js_test\\.dart",
"^tests/compiler/dart2js/analyze_helper\\.dart",
"^tests/compiler/dart2js/analyze_test_test\\.dart",
"^tests/compiler/dart2js/analyze_unused_dart2js_test\\.dart",
"^tests/compiler/dart2js/bad_output_io_test\\.dart",
"^tests/compiler/dart2js/boolified_operator_test\\.dart",
"^tests/compiler/dart2js/call_site_simple_type_inferer_test\\.dart",
"^tests/compiler/dart2js/class_set_test\\.dart",
"^tests/compiler/dart2js/codegen_helper\\.dart",
"^tests/compiler/dart2js/const_exp_test\\.dart",
"^tests/compiler/dart2js/constant_expression_evaluate_test\\.dart",
"^tests/compiler/dart2js/constant_expression_test\\.dart",
"^tests/compiler/dart2js/dart2js_batch2_test\\.dart",
@ -38,21 +45,30 @@
"^tests/compiler/dart2js/deferred_mirrors_test\\.dart",
"^tests/compiler/dart2js/deferred_not_in_main_test\\.dart",
"^tests/compiler/dart2js/embedded_category_api_boundary_test\\.dart",
"^tests/compiler/dart2js/equivalence/check_functions\\.dart",
"^tests/compiler/dart2js/equivalence/check_helpers\\.dart",
"^tests/compiler/dart2js/exit_code_test\\.dart",
"^tests/compiler/dart2js/expect_annotations2_test\\.dart",
"^tests/compiler/dart2js/field_type_simple_inferer_test\\.dart",
"^tests/compiler/dart2js/flatten_test\\.dart",
"^tests/compiler/dart2js/gvn_dynamic_field_get_test\\.dart",
"^tests/compiler/dart2js/import_mirrors_test\\.dart",
"^tests/compiler/dart2js/import_test\\.dart",
"^tests/compiler/dart2js/in_user_code_test\\.dart",
"^tests/compiler/dart2js/inference/data/super_set\\.dart",
"^tests/compiler/dart2js/inference/inference_test_helper\\.dart",
"^tests/compiler/dart2js/instantiated_classes_test\\.dart",
"^tests/compiler/dart2js/interop_anonymous_unreachable_test\\.dart",
"^tests/compiler/dart2js/issue13354_test\\.dart",
"^tests/compiler/dart2js/js_constant_test\\.dart",
"^tests/compiler/dart2js/js_parser_statements_test\\.dart",
"^tests/compiler/dart2js/js_spec_optimization_test\\.dart",
"^tests/compiler/dart2js/jsinterop/world_test\\.dart",
"^tests/compiler/dart2js/kernel/class_hierarchy_test\\.dart",
"^tests/compiler/dart2js/kernel/closed_world2_test\\.dart",
"^tests/compiler/dart2js/kernel/closed_world_from_dill_test\\.dart",
"^tests/compiler/dart2js/kernel/closed_world_test\\.dart",
"^tests/compiler/dart2js/kernel/visitor_test\\.dart",
"^tests/compiler/dart2js/kernel/compile_from_dill_test\\.dart",
"^tests/compiler/dart2js/kernel/test_helpers\\.dart",
"^tests/compiler/dart2js/least_upper_bound_test\\.dart",
"^tests/compiler/dart2js/library_resolution_test\\.dart",
"^tests/compiler/dart2js/list_tracer2_test\\.dart",
@ -62,6 +78,7 @@
"^tests/compiler/dart2js/message_kind_helper\\.dart",
"^tests/compiler/dart2js/metadata_test\\.dart",
"^tests/compiler/dart2js/minimal_resolution_test\\.dart",
"^tests/compiler/dart2js/mirror_private_name_inheritance_test\\.dart",
"^tests/compiler/dart2js/mirrors_used_test\\.dart",
"^tests/compiler/dart2js/mixin_typevariable_test\\.dart",
"^tests/compiler/dart2js/mock_compiler\\.dart",
@ -76,6 +93,7 @@
"^tests/compiler/dart2js/quarantined/http_launch_data/http_launch_main_package\\.dart",
"^tests/compiler/dart2js/quarantined/http_test\\.dart",
"^tests/compiler/dart2js/reexport_handled_test\\.dart",
"^tests/compiler/dart2js/related_types\\.dart",
"^tests/compiler/dart2js/resolution_test\\.dart",
"^tests/compiler/dart2js/resolver_test\\.dart",
"^tests/compiler/dart2js/serialization/analysis_test_helper\\.dart",
@ -84,14 +102,25 @@
"^tests/compiler/dart2js/serialization/equivalence_test\\.dart",
"^tests/compiler/dart2js/serialization/model_test_helper\\.dart",
"^tests/compiler/dart2js/serialization/test_helper\\.dart",
"^tests/compiler/dart2js/simple_inferrer_callers_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_closure_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_const_closure2_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_const_closure3_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_const_closure4_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_const_closure5_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_const_closure_default_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_const_closure_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_final_field2_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_final_field3_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_final_field_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_global_field_closure2_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_global_field_closure_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_postfix_prefix_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_unregister_call_test\\.dart",
"^tests/compiler/dart2js/size_test\\.dart",
"^tests/compiler/dart2js/source_map_validator_helper\\.dart",
"^tests/compiler/dart2js/source_map_name_test\\.dart",
"^tests/compiler/dart2js/source_mapping_test\\.dart",
"^tests/compiler/dart2js/sourcemaps/data/invokes_test_file\\.dart",
"^tests/compiler/dart2js/sourcemaps/diff_view\\.dart",
"^tests/compiler/dart2js/sourcemaps/html_parts\\.dart",
@ -101,7 +130,6 @@
"^tests/compiler/dart2js/sourcemaps/output_structure\\.dart",
"^tests/compiler/dart2js/sourcemaps/save\\.dart",
"^tests/compiler/dart2js/sourcemaps/source_mapping_test_viewer\\.dart",
"^tests/compiler/dart2js/sourcemaps/sourcemap_helper\\.dart",
"^tests/compiler/dart2js/sourcemaps/sourcemap_html_helper\\.dart",
"^tests/compiler/dart2js/sourcemaps/stacktrace_test\\.dart",
"^tests/compiler/dart2js/subtype_test\\.dart",
@ -110,13 +138,16 @@
"^tests/compiler/dart2js/token_naming_test\\.dart",
"^tests/compiler/dart2js/trust_type_annotations_test\\.dart",
"^tests/compiler/dart2js/type_checker_test\\.dart",
"^tests/compiler/dart2js/type_combination_test\\.dart",
"^tests/compiler/dart2js/type_equals_test\\.dart",
"^tests/compiler/dart2js/type_inference7_test\\.dart",
"^tests/compiler/dart2js/type_inference8_test\\.dart",
"^tests/compiler/dart2js/type_mask2_test\\.dart",
"^tests/compiler/dart2js/type_mask_test\\.dart",
"^tests/compiler/dart2js/type_order_test\\.dart",
"^tests/compiler/dart2js/type_representation_test\\.dart",
"^tests/compiler/dart2js/type_substitution_test\\.dart",
"^tests/compiler/dart2js/type_test_helper\\.dart",
"^tests/compiler/dart2js/type_variable_occurrence_test\\.dart",
"^tests/compiler/dart2js/unused_empty_map_test\\.dart",
"^tests/compiler/dart2js/world_test\\.dart",

View file

@ -6,7 +6,7 @@
"packages": "../../.packages",
"analyze": {
"options": "analysis_options_strong.yaml",
"options": "analysis_options_dart.yaml",
"uris": [
".",
@ -50,7 +50,9 @@
"^tests/compiler/dart2js/js_parser_statements_test\\.dart",
"^tests/compiler/dart2js/js_spec_optimization_test\\.dart",
"^tests/compiler/dart2js/jsinterop/world_test\\.dart",
"^tests/compiler/dart2js/kernel/class_hierarchy_test\\.dart",
"^tests/compiler/dart2js/kernel/closed_world_test\\.dart",
"^tests/compiler/dart2js/kernel/visitor_test\\.dart",
"^tests/compiler/dart2js/least_upper_bound_test\\.dart",
"^tests/compiler/dart2js/library_resolution_test\\.dart",
"^tests/compiler/dart2js/list_tracer2_test\\.dart",
@ -89,6 +91,7 @@
"^tests/compiler/dart2js/simple_inferrer_global_field_closure_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_test\\.dart",
"^tests/compiler/dart2js/size_test\\.dart",
"^tests/compiler/dart2js/source_map_validator_helper\\.dart",
"^tests/compiler/dart2js/sourcemaps/data/invokes_test_file\\.dart",
"^tests/compiler/dart2js/sourcemaps/diff_view\\.dart",
"^tests/compiler/dart2js/sourcemaps/html_parts\\.dart",
@ -98,6 +101,7 @@
"^tests/compiler/dart2js/sourcemaps/output_structure\\.dart",
"^tests/compiler/dart2js/sourcemaps/save\\.dart",
"^tests/compiler/dart2js/sourcemaps/source_mapping_test_viewer\\.dart",
"^tests/compiler/dart2js/sourcemaps/sourcemap_helper\\.dart",
"^tests/compiler/dart2js/sourcemaps/sourcemap_html_helper\\.dart",
"^tests/compiler/dart2js/sourcemaps/stacktrace_test\\.dart",
"^tests/compiler/dart2js/subtype_test\\.dart",
@ -116,41 +120,6 @@
"^tests/compiler/dart2js/type_variable_occurrence_test\\.dart",
"^tests/compiler/dart2js/unused_empty_map_test\\.dart",
"^tests/compiler/dart2js/world_test\\.dart",
"^tests/compiler/dart2js/analyze_dart2js_helpers_test\\.dart",
"^tests/compiler/dart2js/analyze_dart2js_test\\.dart",
"^tests/compiler/dart2js/analyze_helper\\.dart",
"^tests/compiler/dart2js/analyze_unused_dart2js_test\\.dart",
"^tests/compiler/dart2js/call_site_simple_type_inferer_test\\.dart",
"^tests/compiler/dart2js/class_set_test\\.dart",
"^tests/compiler/dart2js/const_exp_test\\.dart",
"^tests/compiler/dart2js/equivalence/check_functions\\.dart",
"^tests/compiler/dart2js/equivalence/check_helpers\\.dart",
"^tests/compiler/dart2js/field_type_simple_inferer_test\\.dart",
"^tests/compiler/dart2js/inference/data/super_set\\.dart",
"^tests/compiler/dart2js/inference/inference_test_helper\\.dart",
"^tests/compiler/dart2js/instantiated_classes_test\\.dart",
"^tests/compiler/dart2js/issue13354_test\\.dart",
"^tests/compiler/dart2js/kernel/closed_world2_test\\.dart",
"^tests/compiler/dart2js/kernel/closed_world_from_dill_test\\.dart",
"^tests/compiler/dart2js/kernel/compile_from_dill_test\\.dart",
"^tests/compiler/dart2js/kernel/test_helpers\\.dart",
"^tests/compiler/dart2js/mirror_private_name_inheritance_test\\.dart",
"^tests/compiler/dart2js/related_types\\.dart",
"^tests/compiler/dart2js/simple_inferrer_callers_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_const_closure3_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_const_closure4_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_const_closure5_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_final_field2_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_final_field3_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_final_field_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_global_field_closure2_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_postfix_prefix_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_unregister_call_test\\.dart",
"^tests/compiler/dart2js/source_map_name_test\\.dart",
"^tests/compiler/dart2js/source_mapping_test\\.dart",
"^tests/compiler/dart2js/type_combination_test\\.dart",
"^tests/compiler/dart2js/type_inference7_test\\.dart",
"^tests/compiler/dart2js/type_test_helper\\.dart",
"^tests/compiler/dart2js/path with spaces/.*"
]

View file

@ -8,7 +8,7 @@ main() {
// This method is async, but keeps a port open to prevent the VM from exiting
// prematurely.
return testing.main(<String>[
"--config=pkg/compiler/testing_strong.json",
"--config=pkg/compiler/testing_dart.json",
"--verbose",
"analyze"
]);

View file

@ -6,7 +6,7 @@ packages/*: Skip # Skip packages folder
analyze_test: Slow, Pass
analyze_strong_test: Slow, Pass
analyze_dart_test: Slow, Pass
compile_with_empty_libraries_test: Fail # Issue 24223