Skip to content

Commit

Permalink
Improve analysis coverage.
Browse files Browse the repository at this point in the history
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2904483002 .
  • Loading branch information
peter-ahe-google committed May 24, 2017
1 parent e642722 commit ddf5fc2
Show file tree
Hide file tree
Showing 3 changed files with 253 additions and 64 deletions.
115 changes: 111 additions & 4 deletions pkg/compiler/testing.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,122 @@
"packages": "../../.packages",

"analyze": {
"options": "analysis_options.yaml",

"uris": [
"tool"
".",
"../../tests/compiler/dart2js/"
],

"exclude": [
"/pkg/front_end",
"/third_party/pkg/",
"/third_party/pkg_tested/"
"^tests/compiler/dart2js/analyze_api_test\\.dart",
"^tests/compiler/dart2js/analyze_test_test\\.dart",
"^tests/compiler/dart2js/bad_output_io_test\\.dart",
"^tests/compiler/dart2js/boolified_operator_test\\.dart",
"^tests/compiler/dart2js/codegen_helper\\.dart",
"^tests/compiler/dart2js/constant_expression_evaluate_test\\.dart",
"^tests/compiler/dart2js/constant_expression_test\\.dart",
"^tests/compiler/dart2js/dart2js_batch2_test\\.dart",
"^tests/compiler/dart2js/dart2js_batch_test\\.dart",
"^tests/compiler/dart2js/dart2js_resolver_test\\.dart",
"^tests/compiler/dart2js/data/dart2js_batch2_run\\.dart",
"^tests/compiler/dart2js/data/mirrors_helper\\.dart",
"^tests/compiler/dart2js/data/one_line_dart_program\\.dart",
"^tests/compiler/dart2js/deferred_custom_element_test\\.dart",
"^tests/compiler/dart2js/deferred_dont_inline_deferred_constants_test\\.dart",
"^tests/compiler/dart2js/deferred_dont_inline_deferred_globals_test\\.dart",
"^tests/compiler/dart2js/deferred_follow_constant_dependencies_test\\.dart",
"^tests/compiler/dart2js/deferred_follow_implicit_super_regression_test\\.dart",
"^tests/compiler/dart2js/deferred_inline_restrictions_test\\.dart",
"^tests/compiler/dart2js/deferred_load_graph_segmentation2_test\\.dart",
"^tests/compiler/dart2js/deferred_load_graph_segmentation_test\\.dart",
"^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/exit_code_test\\.dart",
"^tests/compiler/dart2js/expect_annotations2_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/interop_anonymous_unreachable_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_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",
"^tests/compiler/dart2js/list_tracer3_test\\.dart",
"^tests/compiler/dart2js/members_test\\.dart",
"^tests/compiler/dart2js/memory_compiler\\.dart",
"^tests/compiler/dart2js/message_kind_helper\\.dart",
"^tests/compiler/dart2js/metadata_test\\.dart",
"^tests/compiler/dart2js/minimal_resolution_test\\.dart",
"^tests/compiler/dart2js/mirrors_used_test\\.dart",
"^tests/compiler/dart2js/mixin_typevariable_test\\.dart",
"^tests/compiler/dart2js/mock_compiler\\.dart",
"^tests/compiler/dart2js/modulo_remainder_test\\.dart",
"^tests/compiler/dart2js/needs_no_such_method_test\\.dart",
"^tests/compiler/dart2js/no_such_method_enabled_test\\.dart",
"^tests/compiler/dart2js/output_collector\\.dart",
"^tests/compiler/dart2js/override_inheritance_test\\.dart",
"^tests/compiler/dart2js/package_root_test\\.dart",
"^tests/compiler/dart2js/partial_parser_test\\.dart",
"^tests/compiler/dart2js/patch_test\\.dart",
"^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/resolution_test\\.dart",
"^tests/compiler/dart2js/resolver_test\\.dart",
"^tests/compiler/dart2js/serialization/analysis_test_helper\\.dart",
"^tests/compiler/dart2js/serialization/compilation_test_helper\\.dart",
"^tests/compiler/dart2js/serialization/duplicate_library_test\\.dart",
"^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_closure_test\\.dart",
"^tests/compiler/dart2js/simple_inferrer_const_closure2_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_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",
"^tests/compiler/dart2js/sourcemaps/lax_json\\.dart",
"^tests/compiler/dart2js/sourcemaps/mapping_test\\.dart",
"^tests/compiler/dart2js/sourcemaps/nomapping_test\\.dart",
"^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",
"^tests/compiler/dart2js/subtypeset_test\\.dart",
"^tests/compiler/dart2js/tdiv_test\\.dart",
"^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_equals_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_variable_occurrence_test\\.dart",
"^tests/compiler/dart2js/unused_empty_map_test\\.dart",
"^tests/compiler/dart2js/world_test\\.dart",

"^tests/compiler/dart2js/path with spaces/.*"
]
}
}
48 changes: 19 additions & 29 deletions pkg/front_end/test/fasta/testing.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,38 +168,28 @@
"options": "../../analysis_options.yaml",

"uris": [
"../../lib/src/fasta",
"../../lib/src/fasta/builder",
"../../lib/src/fasta/dill",
"../../lib/src/fasta/kernel",
"../../lib/src/fasta/parser",
"../../lib/src/fasta/scanner",
"../../lib/src/fasta/source",
"../../lib/src/fasta/testing",
"../../lib/src/fasta/util",
"../../tool",
"../../tool/_fasta",
"parser/parser_suite.dart",
"scanner/scanner_suite.dart",
"compile_test.dart",
"kompile_test.dart",
"outline_test.dart",
"sdk_test.dart",
"../incremental_kernel_generator_test.dart",
"../../../analyzer/lib/src/fasta",
"../../../analyzer/lib/src/summary/fasta",
"../../../analyzer/lib/src/dart/analysis/file_state.dart",
"../../../analyzer/test/generated/parser_fasta_test.dart",
"../../../analyzer/tool/summary/mini_ast.dart",
"../../../../utils/kernel-service/kernel-service.dart",
"../../../../tools/patch_sdk.dart"
"../../lib",
"../../tool"
],

"note": "Tests are included via git grep below.",

"git grep": {
"pathspecs": [ "*.dart" ],
"patterns": [ "package:front_end/" ]
},

"exclude": [
"/third_party/pkg/",
"/third_party/pkg_tested/",
"/pkg/analyzer/(?!.*/(fasta/|kernel/|(file_state|parser_fasta_test)\\.dart$))",
"/pkg/js_ast/"
"^pkg/analysis_server/lib/src/analysis_server\\.dart",
"^pkg/compiler/lib/src/closure\\.dart",
"^pkg/compiler/lib/src/elements/elements\\.dart",
"^pkg/compiler/lib/src/elements/modelx\\.dart",
"^pkg/compiler/lib/src/js_backend/namer\\.dart",
"^pkg/compiler/lib/src/resolution/members\\.dart",
"^pkg/compiler/lib/src/resolution/resolution\\.dart",
"^pkg/compiler/lib/src/resolution/resolution_strategy\\.dart",
"^pkg/compiler/lib/src/serialization/equivalence\\.dart",
"^pkg/compiler/lib/src/serialization/resolved_ast_serialization\\.dart"
]
}
}
Loading

0 comments on commit ddf5fc2

Please sign in to comment.