2012-08-14 23:05:20 +00:00
# Copyright (c) 2012, 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.
2013-04-12 19:59:20 +00:00
# Don't run any test-like files that show up in packages directories. It
# shouldn't be necessary to run "pub install" in these packages, but if you do
# it shouldn't break the tests.
2014-06-06 05:11:14 +00:00
*/*/*/*/*/packages/*/*: Skip
2018-01-11 13:32:31 +00:00
*/*/*/*/packages/*/*: Skip
*/*/*/packages/*/*: Skip
*/*/packages/*/*: Skip
*/packages/*/*: Skip
2020-02-01 00:17:42 +00:00
analyzer/test/src/task/strong/checker_test: Slow, Pass
2021-06-11 15:44:56 +00:00
analyzer/test/verify_diagnostics_test.dart: Slow, Pass
2023-06-20 12:06:50 +00:00
analyzer/test/verify_docs_test.dart: Slow, Pass
2020-02-01 00:17:42 +00:00
analyzer_plugin/test/plugin/folding_mixin_test: Slow, Pass
2020-05-28 18:51:11 +00:00
compiler/test/analyses/analyze_test: Slow, Pass
compiler/test/analyses/api_dynamic_test: Slow, Pass
compiler/test/analyses/dart2js_dynamic_test: Slow, Pass
compiler/test/closure/closure_test: Slow, Pass
compiler/test/codegen/load_elimination_test: Slow, Pass
compiler/test/codegen/model_test: Slow, Pass
compiler/test/deferred_loading/deferred_loading_test: Slow, Pass
2021-10-07 15:40:42 +00:00
compiler/test/end_to_end/dump_info_test: Skip #47401
2020-05-28 18:51:11 +00:00
compiler/test/impact/impact_test: Slow, Pass
compiler/test/inference/inference0_test: Slow, Pass
compiler/test/inference/inference1_test: Slow, Pass
compiler/test/inference/inference2_test: Slow, Pass
compiler/test/inference/inference3_test: Slow, Pass
compiler/test/inlining/inlining_test: Slow, Pass
compiler/test/model/native_test: Slow, Pass
compiler/test/model/no_such_method_enabled_test: Slow, Pass
compiler/test/model/subtype_test: Slow, Pass
compiler/test/modular/*: Slow, Pass
compiler/test/packages/*: SkipByDesign
2020-06-15 16:32:25 +00:00
compiler/test/rti/rti_emission0_test: Slow, Pass
compiler/test/rti/rti_emission1_test: Slow, Pass
compiler/test/rti/rti_emission2_test: Slow, Pass
compiler/test/rti/rti_emission3_test: Slow, Pass
2020-05-28 18:51:11 +00:00
compiler/test/rti/rti_need0_test: Slow, Pass
compiler/test/rti/rti_need1_test: Slow, Pass
2020-06-15 16:32:25 +00:00
compiler/test/rti/rti_need2_test: Slow, Pass
compiler/test/rti/rti_need3_test: Slow, Pass
2020-05-28 18:51:11 +00:00
compiler/test/serialization/serialization_test: Slow, Pass
compiler/test/sourcemaps/source_mapping_invokes_test: Slow, Pass
compiler/test/sourcemaps/source_mapping_operators_test: Slow, Pass
compiler/test/sourcemaps/source_mapping_test: Slow, Pass
compiler/test/sourcemaps/stacktrace_test: Slow, Pass
2020-04-14 22:06:18 +00:00
dartdev/test/commands/analyze_test: Slow, Pass
dartdev/test/commands/help_test: Slow, Pass
2020-07-27 19:11:53 +00:00
dartdev/test/smoke/*: Slow, Pass
2020-02-01 00:17:42 +00:00
dev_compiler/test/modular/*: Slow, Pass
2018-07-16 19:28:01 +00:00
dev_compiler/test/options/*: Skip # test needs fixes
dev_compiler/test/sourcemap/*: SkipByDesign # Skip sourcemap tests
2018-01-11 12:05:51 +00:00
dev_compiler/test/sourcemap/testfiles/*: SkipByDesign # Skip dev_compiler codegen tests
2018-07-16 19:28:01 +00:00
dev_compiler/test/worker/*: Skip # test needs fixes
2021-01-28 07:46:10 +00:00
front_end/test/fasta/analyze_git_test: Pass, Slow
2018-07-23 18:07:29 +00:00
front_end/test/fasta/bootstrap_test: Pass, Slow
2018-01-11 13:32:31 +00:00
front_end/test/fasta/rasta/*: SkipByDesign # Anything in rasta is input to fasta unit tests and shouldn't be run as tests.
front_end/test/fasta/sdk_test: SkipByDesign # sdk_test would take too long to complete, and should be run in a different way.
2019-02-26 14:07:42 +00:00
front_end/test/fasta/types/dart2js_benchmark_test: Pass, Slow
front_end/test/fasta/types/large_app_benchmark_test: Pass, ExtraSlow
2020-09-16 13:07:38 +00:00
front_end/test/incremental_compiler_leak_test: Pass, ExtraSlow
2020-08-19 09:40:08 +00:00
front_end/test/incremental_dart2js_test: Pass, Slow
2018-01-11 12:05:51 +00:00
front_end/testcases/*: Skip # These are not tests but input for tests.
2018-01-11 13:32:31 +00:00
front_end/tool/incremental_perf_test: Slow, Pass
kernel/testcases/*: Skip # These are not tests but input for tests.
2022-07-18 17:07:43 +00:00
vm/test/kernel_front_end_test: Slow, Pass
2020-02-01 00:17:42 +00:00
vm/test/transformations/type_flow/transformer_test: Slow, Pass
2018-01-19 00:55:34 +00:00
vm/testcases/*: SkipByDesign # These are not tests but input for tests.
2021-07-16 20:50:58 +00:00
vm_service/test/cpu_samples_stream_test: Slow, Pass # Requires CPU sample buffer to fill.
2021-05-20 20:40:15 +00:00
wasm/*: SkipByDesign # These can't be run without running wasm:setup first.
2017-11-03 13:17:39 +00:00
2018-01-11 13:32:31 +00:00
[ $compiler == dart2analyzer ]
dev_compiler/test/options/*: SkipByDesign
2018-07-26 21:44:18 +00:00
testing/test/dart_sdk_negative_test: SkipByDesign
[kernel] Add kernel2kernel constant evaluation, binary format as well as vm support
The introduced "constants" transformation can evaluate constant expressions. The
original use-sites of constant expressions are replaced by a new [ConstantExpression]
node, which points to a subclass of a new [Constant] class hierarchy. Constant
[Field]s and [VariableDeclarations]s will be removed, since all use-sites are
re-written.
The [Constant] class hierarchy is, similarly to the [DartType] class hierarchy, not
part of the AST tree (also has no parent pointer). The constants form a
DAG (directed acyclic graph).
There is no canonicalization requirement of the [Constant] objects referenced by the
AST (via [ConstantExpression]). Although it is beneficial to canonicalize them during
construction, since it reduces time spent in operator==/hashCode.
This CL furthermore adds support for a constant table in the binary format. Similarly
to [String]s, we canonicalize the constants before writing the table to the binary.
The constant table entries in the binary are written in a post-order way, to ensure
easy construction on the backend side.
The text format will be augmented with a "constants { ... }" section at the end,
which lists the constants in the same order as in the binary format.
The transformation can be used by those backends who choose to do so. It is not
enabled by default atm. It should therefore not affect analyzer, fasta or other
components.
Change-Id: I57cd9624fedcf537ab6870db76246149647bed21
Reviewed-on: https://dart-review.googlesource.com/14382
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Kevin Millikin <kmillikin@google.com>
2017-11-16 11:08:02 +00:00
2013-08-09 08:48:51 +00:00
[ $compiler == dart2js ]
2020-01-03 13:57:39 +00:00
_fe_analyzer_shared/test/*: SkipByDesign # Only meant to run on vm
2016-07-01 09:14:58 +00:00
analysis_server/test/integration: SkipByDesign # Analysis server integration tests don't make sense to run under dart2js, since the code under test always runs in the Dart vm as a subprocess.
2018-11-07 15:35:17 +00:00
analysis_server/tool/*: SkipByDesign # Only meant to run on vm
2020-06-17 05:08:40 +00:00
analysis_server_client/test/*: SkipByDesign # Only meant to run on vm
2015-11-20 18:19:29 +00:00
analyzer_cli/test/*: SkipByDesign # Only meant to run on vm
2017-01-31 22:47:40 +00:00
analyzer_plugin/test/*: SkipByDesign # Only meant to run on vm
2017-02-01 02:56:03 +00:00
analyzer_plugin/tool/*: SkipByDesign # Only meant to run on vm
2018-05-22 20:09:24 +00:00
build_integration/test/*: SkipByDesign # Only meant to run on vm, most use dart:mirrors and dart:io
2016-10-10 22:26:41 +00:00
compiler/tool/*: SkipByDesign # Only meant to run on vm
2020-02-02 02:23:13 +00:00
dartdev/test/*: SkipByDesign # Only meant to run on vm
2018-03-07 01:30:21 +00:00
front_end/test/*: SkipByDesign # Only meant to run on vm, most use dart:mirrors and dart:io
2018-01-11 13:32:31 +00:00
front_end/tool/*: SkipByDesign # Only meant to run on vm
2020-02-01 00:17:42 +00:00
modular_test/test/memory_pipeline_test: Slow, Pass
modular_test/test/validate_pipeline_test: Slow, Pass
modular_test/test/validate_suite_test: Slow, Pass
2023-05-15 13:49:30 +00:00
native_assets_builder/test/*: SkipByDesign # Only meant to run on vm
2019-06-09 17:45:35 +00:00
nnbd_migration/test/*: SkipByDesign # Uses mirrors
2020-04-24 18:37:08 +00:00
nnbd_migration/tool/*: SkipByDesign # Only meant to run on vm
2018-07-03 00:27:31 +00:00
smith/test/*: SkipByDesign # Only meant to run on vm
2018-03-07 01:30:21 +00:00
status_file/test/normalize_test: SkipByDesign # Uses dart:io
status_file/test/parse_and_normalize_test: SkipByDesign # Uses dart:io
status_file/test/repo_status_files_test: SkipByDesign # Uses dart:io
2018-01-11 13:32:31 +00:00
telemetry/test/*: SkipByDesign # Only meant to run on vm
2019-06-14 23:35:10 +00:00
test_runner/test/*: SkipByDesign # Only meant to run on vm
2018-03-07 01:30:21 +00:00
testing/*: SkipByDesign # Only meant to run on vm
2021-05-20 20:40:15 +00:00
wasm/*: SkipByDesign # Only meant to run on vm
2015-11-03 10:39:15 +00:00
2020-05-28 18:51:11 +00:00
[ $mode == debug ]
compiler/test/deferred/load_graph_segmentation_test: Slow, Pass
compiler/test/deferred/load_mapping_test: Slow, Pass
compiler/test/end_to_end/dart2js_batch_test: Slow, Pass
compiler/test/end_to_end/exit_code_test: Slow, Pass
2022-07-18 17:07:43 +00:00
vm/test/kernel_front_end_test: SkipSlow
2020-07-03 09:29:10 +00:00
vm_snapshot_analysis/test/precompiler_trace_test: SkipSlow
2020-05-28 18:51:11 +00:00
2018-01-11 13:32:31 +00:00
[ $runtime == dart_precompiled ]
*: SkipByDesign # The pkg test framework imports dart:mirrors.
2015-11-03 10:39:15 +00:00
2018-01-11 13:32:31 +00:00
[ $runtime == vm ]
2020-02-01 00:17:42 +00:00
analysis_server/test/benchmarks_test: Slow, Pass
analysis_server/test/domain_completion_test: Slow, Pass
analysis_server/test/edit/refactoring_test: Slow, Pass
analysis_server/test/integration/*: Slow, Pass
analysis_server/test/services/completion/dart/imported_reference_contributor_test: Slow, Pass
analysis_server/test/services/completion/dart/keyword_contributor_test: Slow, Pass
analysis_server/test/services/completion/dart/local_reference_contributor_test: Slow, Pass
analysis_server/test/services/completion/dart/type_member_contributor_test: Slow, Pass
analysis_server/test/services/refactoring/extract_method_test: Slow, Pass
analysis_server/test/services/refactoring/inline_method_test: Slow, Pass
2018-07-03 19:12:36 +00:00
analysis_server/test/socket_server_test: Skip # Pass, Slow
2020-02-01 00:17:42 +00:00
analysis_server/test/src/plugin/plugin_manager_test: Slow, Pass
analyzer/test/generated/strong_mode_driver_test: Slow, Pass
analyzer/test/src/dart/analysis/driver_resolution_kernel_test: Slow, Pass
analyzer/test/src/dart/analysis/driver_test: Slow, Pass
analyzer/test/src/task/strong/inferred_type_test: Slow, Pass
2021-06-07 13:45:42 +00:00
analyzer/tool/experiments/experiments_test: Skip # https://github.com/dart-lang/sdk/issues/46277
2020-02-01 00:17:42 +00:00
analyzer_plugin/test/src/utilities/change_builder/change_builder_dart_test: Slow, Pass
analyzer_plugin/test/src/utilities/completion/optype_test: Slow, Pass
2020-04-14 19:09:35 +00:00
dartdev/test/*: Slow, Pass
2021-06-07 20:52:13 +00:00
dds/test/dap/integration/*: Slow, Pass
2013-07-30 20:48:47 +00:00
2018-01-11 13:32:31 +00:00
[ $runtime != vm ]
2021-08-13 18:47:41 +00:00
dart2js_info/test/*: SkipByDesign # Only meant to run on vm
2020-03-19 23:36:45 +00:00
dds/test/*: SkipByDesign # Only meant to run on vm
2018-01-11 13:32:31 +00:00
dev_compiler/test/options/*: SkipByDesign
2018-10-05 14:24:41 +00:00
front_end/test/hot_reload_e2e_test: Skip
2019-10-08 15:41:11 +00:00
frontend_server/test/*: SkipByDesign # Only meant to run on vm
2021-01-25 22:39:23 +00:00
js_runtime/test/*: SkipByDesign # Only meant to run on vm
2022-05-18 19:59:33 +00:00
js_shared/test/*: SkipByDesign # Only meant to run on vm
2023-04-26 14:43:08 +00:00
native_stack_traces/test/*: SkipByDesign # Only meant to run on vm
2018-01-19 00:55:34 +00:00
vm/test/*: SkipByDesign # Only meant to run on vm
2019-08-23 19:27:35 +00:00
vm_service/test/*: SkipByDesign # Uses dart:io
2020-06-23 14:44:16 +00:00
vm_snapshot_analysis/test/*: SkipByDesign # Only meant to run on vm
2014-06-10 01:08:47 +00:00
2018-01-17 18:29:55 +00:00
[ $system == windows ]
front_end/test/fasta/bootstrap_test: Skip # Issue 31902
2018-01-26 08:46:23 +00:00
front_end/test/fasta/strong_test: Pass, Slow, Timeout
2018-03-22 08:57:36 +00:00
front_end/test/incremental_dart2js_load_from_dill_test: Pass, Slow
2018-01-17 18:29:55 +00:00
2013-06-11 14:10:03 +00:00
[ $browser ]
2015-02-23 21:31:12 +00:00
*/test/analyzer_test: SkipByDesign # No need to run analysis tests on browser bots
2020-01-03 13:57:39 +00:00
_fe_analyzer_shared/test/*: SkipByDesign # Only meant to run on vm
2015-02-17 17:21:39 +00:00
analysis_server/test/*: SkipByDesign # Uses dart:io.
analysis_server/tool/spec/check_all_test: SkipByDesign # Uses dart:io.
analyzer/test/*: SkipByDesign # Uses dart:io.
2015-11-04 21:12:02 +00:00
analyzer/tool/summary/check_test: SkipByDesign # Uses dart:io.
2018-01-11 13:32:31 +00:00
analyzer_cli/*: SkipByDesign # Uses dart:io.
2016-10-10 22:26:41 +00:00
compiler/tool/*: SkipByDesign # Only meant to run on vm
2016-10-21 16:07:48 +00:00
front_end/tool/*: SkipByDesign # Only meant to run on vm
2018-01-11 13:32:31 +00:00
kernel/test/*: SkipByDesign # Uses dart:io and bigints.
status_file/*: SkipByDesign # Only meant to run on the standalone VM.
testing/test/analyze_test: SkipByDesign
2013-08-14 20:59:46 +00:00
2020-05-28 18:51:11 +00:00
[ $checked ]
compiler/test/codegen/value_range_test: Slow, Pass
compiler/test/end_to_end/exit_code_test: Slow, Pass
compiler/test/end_to_end/output_type_test: Slow, Pass
compiler/test/end_to_end/uri_retention_test: Slow, Pass
compiler/test/jsinterop/declaration_test: Slow, Pass
compiler/test/jsinterop/interop_anonymous_unreachable_test: Slow, Pass
compiler/test/jsinterop/world_test: Slow, Pass
compiler/test/sourcemaps/stacktrace_test: Slow, Pass
[ !$checked ]
compiler/test/end_to_end/exit_code_test: SkipByDesign # This tests requires checked mode.
compiler/test/jsinterop/declaration_test: Slow, Pass
2018-01-11 13:32:31 +00:00
[ $jscl ]
2016-12-05 10:35:41 +00:00
kernel/test/*: SkipByDesign # Uses dart:io and bigints.
2023-04-04 03:10:26 +00:00
# Timeout. These tests do not run efficiently on our simulator.
[ $simulator ]
*: Skip
2018-01-11 13:32:31 +00:00
[ $arch == x64 && $runtime == vm && $system == windows && $checked ]
2020-02-01 00:17:42 +00:00
analyzer/test/src/task/strong/inferred_type_test: Slow, Pass
2018-01-11 13:32:31 +00:00
[ $builder_tag != dart2js_analyzer && $compiler == dart2js ]
analysis_server/test/*: Skip # Issue 26813
analyzer/test/*: Skip # Issue 26813
analyzer/tool/*: Skip # Issue 26813
[ $compiler != dart2analyzer && $runtime != vm ]
dev_compiler/test/*: Skip
2019-05-08 21:18:19 +00:00
modular_test/test/find_sdk_root1_test: SkipByDesign
modular_test/test/io_pipeline_test: SkipByDesign
modular_test/test/loader/loader_test: SkipByDesign
2019-05-24 01:27:13 +00:00
modular_test/test/specification_parser_test: SkipByDesign
2019-05-08 21:18:19 +00:00
modular_test/test/src/find_sdk_root2_test: SkipByDesign
2014-01-07 01:07:29 +00:00
2018-01-11 13:32:31 +00:00
[ $compiler == dart2js && $runtime == d8 ]
front_end/test/src/base/uri_resolver_test: SkipByDesign # Relies on access to file system
2017-02-28 13:10:26 +00:00
2018-01-11 13:32:31 +00:00
[ $compiler == dart2js && $runtime != d8 ]
front_end/test/mixin_export_test: RuntimeError # Issue 30576
2016-03-07 18:20:41 +00:00
2018-03-14 16:16:34 +00:00
[ $compiler == dart2js && $browser ]
2020-02-01 00:17:42 +00:00
crypto/test/sha1_test: Slow, Pass
crypto/test/sha256_test: Slow, Pass
2018-03-14 16:16:34 +00:00
2018-01-11 13:32:31 +00:00
[ $compiler == dart2js && $checked ]
2020-02-01 00:17:42 +00:00
crypto/test/base64_test: Slow, Pass
2018-01-11 13:32:31 +00:00
2019-10-28 23:49:20 +00:00
[ $compiler == dart2js && $host_checked ]
2019-10-30 20:49:13 +00:00
js_ast/test/printer_callback_test: Slow, Pass
2019-10-28 23:49:20 +00:00
js_ast/test/string_escape_test: Slow, Pass
2018-01-11 13:32:31 +00:00
[ $compiler == dart2js && ($runtime == chrome || $runtime == ff) ]
async/test/stream_zip_test: SkipSlow # Times out. Issue 22050
collection/test/unmodifiable_collection_test: SkipSlow # Times out. Issue 22050
2022-11-29 16:58:58 +00:00
[ $runtime == vm && $system != linux ]
2022-11-30 20:13:05 +00:00
dartdev/test/commands/info_linux_test: SkipByDesign
2022-11-29 16:58:58 +00:00
[ $runtime == vm && $system != macos ]
2022-11-30 20:13:05 +00:00
dartdev/test/commands/info_macos_test: SkipByDesign
2022-11-29 16:58:58 +00:00
2017-05-26 22:45:35 +00:00
[ $runtime == vm && $system == windows ]
2018-01-11 13:32:31 +00:00
analysis_server/test/analysis/get_errors_test: Skip # runtime error, Issue 22180
2020-02-01 00:17:42 +00:00
analysis_server/test/src/plugin/plugin_manager_test: Slow, Pass # Issue 34231
analyzer/test/src/task/strong/checker_test: Slow, Pass
analyzer/tool/task_dependency_graph/check_test: Slow, Pass
2017-06-13 15:13:01 +00:00
2018-01-11 13:32:31 +00:00
[ $runtime == vm && $system == windows && $checked ]
front_end/tool/perf_test: Slow, Pass
2022-11-30 20:13:05 +00:00
[ $runtime == vm && $system != windows ]
dartdev/test/commands/info_windows_test: SkipByDesign
2018-01-11 13:32:31 +00:00
[ $runtime == vm && $checked ]
2020-02-01 00:17:42 +00:00
analysis_server/test/completion_test: Slow, Pass
analysis_server/test/integration/edit/sort_members_test: Slow, Pass
2018-01-11 13:32:31 +00:00
analysis_server/test/socket_server_test: Skip # Pass, Slow
2018-08-01 12:55:13 +00:00
2019-11-13 20:03:04 +00:00
[ $mode == debug || $runtime != vm || $system == android ]
vm/test/modular_kernel_plus_aot_test: SkipByDesign # This test should only run if binary is run from build dir
2018-01-17 06:03:59 +00:00
[ $mode != release || $runtime != vm ]
2018-01-11 13:32:31 +00:00
front_end/test/fasta/*: Skip
front_end/tool/_fasta/*: Skip
2018-01-17 06:03:59 +00:00
2023-01-23 09:10:23 +00:00
[ $browser || $jscl ]
2020-05-28 18:51:11 +00:00
compiler/test/*: Skip # dart2js uses #import('dart:io'); and it is not self-hosted (yet).
2023-01-23 09:10:23 +00:00
mmap/*: SkipByDesign # Only meant to run on vm