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
2017-04-04 13:32:24 +00:00
analyzer/test/generated/compile_time_error_code_driver_test: Slow, Pass
2017-09-24 18:27:27 +00:00
analyzer/test/generated/compile_time_error_code_kernel_test: Slow, Pass
2018-01-11 13:32:31 +00:00
analyzer/test/generated/compile_time_error_code_test: Slow, Pass
2017-10-03 16:25:33 +00:00
analyzer/test/generated/hint_code_kernel_test: Slow, Pass
2017-04-04 13:32:24 +00:00
analyzer/test/generated/non_error_resolver_driver_test: Slow, Pass
2017-09-24 18:27:27 +00:00
analyzer/test/generated/non_error_resolver_kernel_test: Slow, Pass
2018-07-23 17:08:29 +00:00
analyzer/test/generated/non_hint_code_kernel_test: Slow, Pass
2017-09-25 20:00:51 +00:00
analyzer/test/generated/static_type_warning_code_kernel_test: Slow, Pass
2017-05-30 10:52:02 +00:00
analyzer/test/generated/static_warning_code_driver_test: Slow, Pass
2017-09-24 18:27:27 +00:00
analyzer/test/generated/static_warning_code_kernel_test: Slow, Pass
Keep sources for libraries of the current cycle.
This should fix the issue 30917 flakiness.
The reason why the tests were failing is that the code in the tests
was not quite correct Dart code, so Fasta generated a synthetic
`#errors` top-level variable with fileUri == null. We should skip
this field because it is not a part of any unit, because its fileUri
is not the fileUri of any unit.
But we lose fileUri for a Node if Program.uriToSource does not
include this URI. So, if we clear uriToSource in KernelDriver, we
lose all the file URIs. So, now we keep sources for the cycle files.
The reason for flakiness is because of the same race condition
between analyzing AnalysisDriver.addFile() and getResult(). If
we process getResult() before, we don't have to read the library
kernel file, we just create in first time, and fileUri(s) are
valid.
R=ahe@google.com, paulberry@google.com, sigmund@google.com
Bug: https://github.com/dart-lang/sdk/issues/30917
Change-Id: Ie559cf2a8a778ebf4a9e297f5cb13d30a98b5a3c
Reviewed-on: https://dart-review.googlesource.com/9744
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2017-09-29 18:38:52 +00:00
analyzer/test/generated/strong_mode_kernel_test: Slow, Pass
2017-12-05 10:04:31 +00:00
analyzer/test/src/dart/analysis/driver_kernel_test: Slow, Pass
2018-01-10 19:33:06 +00:00
analyzer/test/src/summary/resynthesize_kernel_test: Slow, Pass
2017-10-25 08:20:18 +00:00
analyzer/test/src/task/strong/checker_test: Slow, Pass
2018-01-11 13:32:31 +00:00
analyzer_plugin/test/plugin/folding_mixin_test: 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
2018-01-11 13:32:31 +00:00
front_end/test/fasta/analyze_test: Pass, Slow
front_end/test/fasta/ast_builder_test: Pass, Slow
2018-07-23 18:07:29 +00:00
front_end/test/fasta/bootstrap_test: Pass, Slow
2018-03-14 16:27:37 +00:00
front_end/test/fasta/compile_test: Pass, ExtraSlow
2017-05-01 15:26:08 +00:00
front_end/test/fasta/outline_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.
2018-03-14 16:27:37 +00:00
front_end/test/fasta/shaker_test: Skip # Issue http://dartbug.com/32531
front_end/test/fasta/strong_test: Pass, ExtraSlow
2017-12-18 13:54:55 +00:00
front_end/test/minimal_incremental_kernel_generator_test: Slow, Pass
[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
front_end/test/whole_program_test: Slow, Pass
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/test/closures_test: Slow, Pass
kernel/testcases/*: Skip # These are not tests but input for tests.
2018-06-14 09:38:28 +00:00
vm/test/frontend_server_test: Slow, Pass
2018-03-06 15:15:57 +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.
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
2017-03-09 23:38:42 +00:00
[ $compiler != dart2analyzer ]
2017-03-24 14:59:53 +00:00
analyzer/test/src/summary/summarize_fasta_test: RuntimeError, Slow
2017-03-09 23:38:42 +00:00
2013-08-09 08:48:51 +00:00
[ $compiler == dart2js ]
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
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
2015-11-03 10:39:15 +00:00
collection/test/equality_test/01: Fail # Issue 1533
collection/test/equality_test/02: Fail # Issue 1533
collection/test/equality_test/03: Fail # Issue 1533
collection/test/equality_test/04: Fail # Issue 1533
collection/test/equality_test/05: Fail # Issue 1533
collection/test/equality_test/none: Pass, Fail # Issue 14348
2016-10-10 22:26:41 +00:00
compiler/tool/*: SkipByDesign # Only meant to run on vm
2018-10-22 17:50:25 +00:00
dartfix/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
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
2018-03-07 01:30:21 +00:00
testing/*: SkipByDesign # Only meant to run on vm
2018-01-11 13:32:31 +00:00
typed_data/test/typed_buffers_test/01: Fail # Not supporting Int64List, Uint64List.
2015-11-03 10:39:15 +00:00
2018-01-11 13:32:31 +00:00
[ $compiler == none ]
kernel/test/closures_test: Fail
2016-11-16 16:42:29 +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 == flutter ]
status_file/*: SkipByDesign # Only meant to run on the standalone VM.
2015-11-03 10:39:15 +00:00
2014-04-11 13:47:34 +00:00
[ $runtime == jsshell ]
2016-03-28 21:41:12 +00:00
async/test/stream_zip_test: RuntimeError, OK # Issue 26103. Timers are not supported.
2017-01-19 21:21:39 +00:00
front_end/test/*: RuntimeError, OK, Pass # Issue 26103. Timers are not supported.
2016-11-28 12:44:34 +00:00
kernel/test/*: RuntimeError, OK # Issue 26103. Timers are not supported.
2013-04-22 17:11:02 +00:00
2018-01-11 13:32:31 +00:00
[ $runtime == vm ]
2018-06-20 21:56:17 +00:00
analysis_server/test/benchmarks_test: Pass, Slow
2018-07-03 21:41:15 +00:00
analysis_server/test/domain_completion_test: Pass, Slow
2018-07-10 05:20:08 +00:00
analysis_server/test/edit/refactoring_test: Pass, Slow
2018-07-06 00:16:41 +00:00
analysis_server/test/integration/*: Pass, Slow
2018-08-28 19:29:17 +00:00
analysis_server/test/integration/analysis/package_root_test: Pass, RuntimeError # Issue 33382
2018-01-11 13:32:31 +00:00
analysis_server/test/integration/search/find_top_level_declarations_test: Pass, RuntimeError # 31571
2018-07-03 21:41:15 +00:00
analysis_server/test/services/completion/dart/imported_reference_contributor_test: Pass, Slow
analysis_server/test/services/completion/dart/keyword_contributor_test: Pass, Slow
analysis_server/test/services/completion/dart/local_constructor_contributor_test: Pass, Slow
analysis_server/test/services/completion/dart/local_reference_contributor_test: Pass, Slow
analysis_server/test/services/completion/dart/type_member_contributor_test: Pass, Slow
analysis_server/test/services/correction/assist_test: Pass, Slow
analysis_server/test/services/refactoring/extract_method_test: Pass, Slow
analysis_server/test/services/refactoring/inline_method_test: Pass, Slow
2018-07-03 19:12:36 +00:00
analysis_server/test/socket_server_test: Skip # Pass, Slow
analysis_server/test/src/plugin/plugin_manager_test: Pass, Slow
2018-10-01 18:07:43 +00:00
analyzer/test/file_system/physical_resource_provider_watch_test: Pass, Fail # Issue 25472
2018-07-04 01:38:48 +00:00
analyzer/test/generated/hint_code_driver_test: Pass, Slow
2018-07-03 19:12:36 +00:00
analyzer/test/generated/non_error_resolver_kernel_test: Pass, Slow
2018-07-10 05:20:08 +00:00
analyzer/test/generated/strong_mode_driver_test: Pass, Slow
2018-07-04 13:21:30 +00:00
analyzer/test/src/dart/analysis/driver_resolution_kernel_test: Pass, Slow
2018-07-10 05:20:08 +00:00
analyzer/test/src/dart/analysis/driver_test: Pass, Slow
2018-07-03 19:12:36 +00:00
analyzer/test/src/summary/resynthesize_ast_test: Pass, Slow
analyzer/test/src/task/strong/front_end_inference_test: Pass, Slow
2018-01-11 13:32:31 +00:00
analyzer/test/src/task/strong/inferred_type_test: Pass, Slow
2018-07-03 21:41:15 +00:00
analyzer_plugin/test/src/utilities/change_builder/change_builder_dart_test: Pass, Slow
analyzer_plugin/test/src/utilities/completion/optype_test: Pass, Slow
2018-01-11 13:32:31 +00:00
mutation_observer: Skip # Skip tests on the VM if the package depends on dart:html
2013-07-30 20:48:47 +00:00
2018-01-11 13:32:31 +00:00
[ $runtime != vm ]
dev_compiler/test/options/*: SkipByDesign
2018-10-05 14:24:41 +00:00
front_end/test/hot_reload_e2e_test: Skip
2018-01-19 00:55:34 +00:00
vm/test/*: SkipByDesign # Only meant to run on vm
2014-06-10 01:08:47 +00:00
2018-06-07 14:31:12 +00:00
[ $system == linux ]
analysis_server/test/integration/analysis/package_root_test: Pass, RuntimeError # Issue 33382
2018-01-17 18:29:55 +00:00
[ $system == windows ]
2018-09-07 18:22:22 +00:00
analysis_server/test/integration/analysis/get_errors_nonStandard_sdk_test: Skip
2018-01-26 08:46:23 +00:00
front_end/test/fasta/ast_builder_test: Pass, Slow, Timeout
2018-01-17 18:29:55 +00:00
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-10-05 14:24:41 +00:00
front_end/test/hot_reload_e2e_test: Skip # Issue 31901
2018-03-22 08:57:36 +00:00
front_end/test/incremental_dart2js_load_from_dill_test: Pass, Slow
2018-01-17 18:44:12 +00:00
front_end/test/whole_program_test: Skip # Issue 31902
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
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/tool/task_dependency_graph/check_test: SkipByDesign # Uses dart:io.
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
2014-12-19 21:54:51 +00:00
http_server/test/*: Fail, OK # Uses dart:io.
2018-01-11 13:32:31 +00:00
kernel/test/*: SkipByDesign # Uses dart:io and bigints.
2013-11-08 00:32:54 +00:00
observe/test/transformer_test: Fail, OK # Uses dart:io.
2018-01-11 13:32:31 +00:00
observe/test/unique_message_test: SkipByDesign # Uses dart:io.
status_file/*: SkipByDesign # Only meant to run on the standalone VM.
testing/test/analyze_test: SkipByDesign
2013-08-14 20:59:46 +00:00
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.
2018-06-26 22:17:08 +00:00
[ !$preview_dart_2 ]
2018-08-01 12:55:13 +00:00
dev_compiler/*: SkipByDesign # uses Dart 2.
2018-06-26 22:17:08 +00:00
smith/test/*: Skip # Uses optional new.
2018-01-11 13:32:31 +00:00
[ $arch == x64 && $runtime == vm && $system == windows && $checked ]
2017-03-10 00:51:17 +00:00
analyzer/test/src/task/strong/inferred_type_test: Pass, Slow
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
# Analyze dev_compiler but only run its tests on the vm
[ $compiler != dart2analyzer && $runtime != vm ]
dev_compiler/test/*: Skip
2014-01-07 01:07:29 +00:00
2015-03-18 12:45:50 +00:00
[ $compiler == dart2js && $runtime == chrome && $system == macos ]
third_party/di_tests/di_test: Pass, Slow # Issue 22896
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 ]
crypto/test/sha1_test: Slow, Pass
crypto/test/sha256_test: Slow, Pass
2018-01-11 13:32:31 +00:00
[ $compiler == dart2js && $checked ]
crypto/test/base64_test: Slow, Pass
[ $compiler == dart2js && $csp ]
mutation_observer: Skip # This test cannot run under CSP because it is injecting a JavaScript polyfill
[ $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
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
2018-02-28 15:51:17 +00:00
analysis_server/test/benchmarks_test: RuntimeError # Issue 32355
2018-08-22 21:41:49 +00:00
analysis_server/test/src/plugin/plugin_manager_test: Pass, Slow, RuntimeError # Issue 34231
2018-01-11 13:32:31 +00:00
analyzer/test/generated/non_error_resolver_kernel_test: RuntimeError # Issue 30785
2017-03-09 22:57:26 +00:00
analyzer/test/src/task/strong/checker_test: Pass, Slow
2018-01-11 13:32:31 +00:00
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
[ $runtime == vm && $checked ]
analysis_server/test/completion_test: Pass, Slow
analysis_server/test/integration/edit/sort_members_test: Pass, Slow
analysis_server/test/services/correction/fix_test: Pass, Slow
analysis_server/test/socket_server_test: Skip # Pass, Slow
2018-01-22 16:21:48 +00:00
analyzer/test/generated/non_error_resolver_kernel_test: Pass, Slow
2018-01-11 13:32:31 +00:00
analyzer/test/src/summary/resynthesize_ast_test: Pass, Slow
analyzer/test/src/task/strong/front_end_inference_test: Pass, Slow
2018-08-01 12:55:13 +00:00
[ $runtime == vm && !$preview_dart_2 ]
analysis_server/test/services/correction/assist_test: RuntimeError
2018-01-11 13:32:31 +00:00
# Timeout. These tests do not run efficiently on our simulator or low-end
# devices.
[ $runtime == vm && ($arch == armv5te || $arch == armv6 || $arch == simarm || $arch == simarm64 || $arch == simarmv5te || $arch == simarmv6 || $arch == simdbc64) ]
*: Skip
2018-01-17 06:03:59 +00:00
[ $arch != x64 || $compiler != none || $mode != release || $runtime != vm ]
2018-01-11 13:32:31 +00:00
front_end/test/whole_program_test: SkipByDesign
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
[ $mode != release || $runtime != vm || $system == windows ]
2018-01-11 13:32:31 +00:00
kernel/test/closures_test: Skip