Remove dart2dart support from testing scripts and status files

I will leave it to the dart2js people to remove the support from the dart2js tools (there is also a bunch of comments still in code, do a git grep)

R=kustermann@google.com, floitsch@google.com, kmillikin@google.com
BUG=

Review URL: https://codereview.chromium.org//1126363003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45588 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
ricow@google.com 2015-05-07 11:29:55 +00:00
parent fb7f171a0e
commit e92f697236
24 changed files with 22 additions and 401 deletions

View file

@ -77,28 +77,6 @@
'utils/analysis_server/analysis_server.gyp:analysis_server',
],
},
{
# This is the target that is built on the dart2dart bots.
# It must depend on anything that is required by dart2dart
# tests.
'target_name': 'dart2dart_bot',
'type': 'none',
'dependencies': [
'create_sdk',
'packages',
],
},
{
# This is the target that is built on the dartc bots.
# It must depend on anything that is required by dartc
# tests.
'target_name': 'dartc_bot',
'type': 'none',
'dependencies': [
'create_sdk',
'packages',
],
},
{
# This is the target that is built on the dart2js build bots.
# It must depend on anything that is required by the dart2js

View file

@ -92,9 +92,6 @@ async/test/stream_zip_test: RuntimeError, Pass # Issue 18548
collection/test/unmodifiable_collection_test: SkipSlow # Times out. Issue 22050
async/test/stream_zip_test: SkipSlow # Times out. Issue 22050
[$compiler == dart2dart]
*: Skip
[ $runtime == ie10 ]
analyzer/test/generated/java_core_test: Pass, Timeout # Issue 19747
typed_data/test/typed_buffers_test/none: Fail # Issue 17607 (I put this here explicitly, since this is not the same as on ie9)

View file

@ -26,11 +26,6 @@ debugging_test: Skip
[ $arch == simarm || $arch == simmips || $arch == simarm64]
*: SkipSlow
# The transformations of dart2dart are not guaranteed to preserve the
# state/properties of the VM that the Observatory tests are inspecting.
[ $compiler == dart2dart ]
*: Skip
# All tests use dart:io
[ $browser || $compiler == dart2js ]
*: SkipByDesign

View file

@ -80,10 +80,6 @@ dart/data_uri_failures_test/nomime: RuntimeError, OK
dart/data_uri_failures_test/nocharset: RuntimeError, OK
dart/data_uri_failures_test/base64: RuntimeError, OK
[ $compiler == dart2dart ]
# Skip until we stabilize language tests.
*: Skip
[ $arch == mips ]
cc/StaticNonNullSumCallCodegen: Crash, Pass # Issue 17440
cc/ArrayLengthMaxElements: Crash # Issue 23275

View file

@ -7,7 +7,7 @@ test/serve/web_socket/url_to_asset_id_test: Pass, Slow
test/transformer/loads_a_diamond_transformer_dependency_graph_test: Pass, Slow
# Pub only runs on the VM, so just rule out all compilers.
[ $compiler == dart2js || $compiler == dart2dart ]
[ $compiler == dart2js ]
*: Skip
# Pub only runs on the standalone VM, not the browser.

View file

@ -1,122 +0,0 @@
# Copyright (c) 2013, 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.
[ $compiler == dart2dart && $builder_tag == new_backend ]
Language/12_Expressions/18_Assignment_A04_t09: RuntimeError # Issue 23015
[ $compiler == dart2dart && $builder_tag != new_backend ]
Language/12_Expressions/18_Assignment_A04_t09: RuntimeError # co19-roll r667: Please triage this failure
[ $compiler == dart2dart ]
Language/03_Overview/1_Scoping_A02_t05: Fail # Inherited from dart2js
Language/03_Overview/1_Scoping_A02_t06: Fail # inherited from dart2js
Language/03_Overview/1_Scoping_A02_t28: Fail # co19-roll r559: Please triage this failure
Language/03_Overview/2_Privacy_A01_t19: Fail # Calling unresolved class constructor.
Language/03_Overview/2_Privacy_A01_t20: Fail # Calling unresolved class constructor.
Language/05_Variables/05_Variables_A05_t01: fail # co19-roll r546: Please triage this failure
Language/05_Variables/05_Variables_A05_t02: fail # co19-roll r546: Please triage this failure
Language/05_Variables/05_Variables_A11_t01: fail
Language/07_Classes/07_Classes_A13_t02: Fail # Missing CT error on member with same name a type parameter
Language/07_Classes/07_Classes_A13_t03: Fail # Missing CT error on member with same name a type parameter
Language/07_Classes/07_Classes_A13_t05: Fail # Missing CT error on member with same name a type parameter
Language/07_Classes/07_Classes_A13_t06: Fail # Missing CT error on member with same name a type parameter
Language/07_Classes/07_Classes_A13_t08: Fail # Missing CT error on member with same name a type parameter
Language/07_Classes/07_Classes_A13_t09: Fail # Missing CT error on member with same name a type parameter
Language/07_Classes/1_Instance_Methods_A07_t01: fail # Issue 21201
Language/07_Classes/3_Setters_A04_t01: Fail # inherited from VM
Language/07_Classes/3_Setters_A04_t02: Fail # inherited from VM
Language/07_Classes/3_Setters_A04_t07: Fail # inherited from VM
Language/07_Classes/6_Constructors/1_Generative_Constructors_A12_t02: fail # 13363
Language/07_Classes/6_Constructors/1_Generative_Constructors_A20_t02: fail # 13363
Language/07_Classes/6_Constructors/2_Factories_A08_t02: fail # Issue 21202
Language/07_Classes/6_Constructors/2_Factories_A10_t02: fail # Issue 21202
Language/07_Classes/6_Constructors/2_Factories_A10_t03: fail # Issue 21202
Language/07_Classes/6_Constructors_A03_t03: Fail # Calling unresolved class constructor.
Language/07_Classes/9_Superclasses/1_Inheritance_and_Overriding_A01_t03: Fail # TODO(dart2dart-team): Please triage this failure.
Language/10_Generics/09_Generics_A01_t17: fail # Issue 21203
Language/12_Expressions/01_Constants_A03_t01: Fail # Issue 13652
Language/12_Expressions/12_Instance_Creation/1_New_A02_t03: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A02_t05: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A02_t06: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A02_t07: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A03_t01: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A03_t02: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A04_t01: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A04_t02: RuntimeError # co19-roll r607: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A06_t04: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A06_t05: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A06_t06: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/12_Instance_Creation/1_New_A06_t15: CompileTimeError # Issue 21092
Language/12_Expressions/12_Instance_Creation/2_Const_A11_t01: MissingCompileTimeError # Issue 21134
Language/12_Expressions/12_Instance_Creation/2_Const_A11_t03: MissingCompileTimeError # Issue 21134
Language/12_Expressions/15_Method_Invocation/3_Static_Invocation_A04_t09: RuntimeError # co19-roll r623: Please triage this failure
Language/12_Expressions/17_Getter_Invocation_A07_t02: Pass, RuntimeError # co19-roll r607: Please triage this failure
Language/12_Expressions/22_Equality_A01_t01: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/22_Equality_A05_t01: fail # co19-roll r546: Please triage this failure
Language/12_Expressions/30_Identifier_Reference_A02_t01: fail # co19-roll r546: Please triage this failure
Language/13_Statements/04_Local_Function_Declaration_A04_t01: Fail, MissingCompileTimeError # co19-roll r607: Please triage this failure
Language/13_Statements/04_Local_Function_Declaration_A04_t03: MissingCompileTimeError # co19-roll r667: Please triage this failure
Language/13_Statements/09_Switch_A01_t02: fail # co19-roll r546: Please triage this failure
Language/13_Statements/12_Labels_A01_t03: fail # co19-roll r546: Please triage this failure
Language/14_Libraries_and_Scripts/1_Imports_A03_t08: fail # co19-roll r546: Please triage this failure
Language/14_Libraries_and_Scripts/1_Imports_A03_t09: fail # co19-roll r546: Please triage this failure
Language/14_Libraries_and_Scripts/1_Imports_A03_t10: fail # co19-roll r546: Please triage this failure
Language/14_Libraries_and_Scripts/1_Imports_A03_t28: fail # co19-roll r546: Please triage this failure
Language/14_Libraries_and_Scripts/1_Imports_A03_t29: fail # co19-roll r546: Please triage this failure
Language/14_Libraries_and_Scripts/1_Imports_A03_t30: fail # co19-roll r546: Please triage this failure
Language/15_Types/4_Interface_Types_A11_t01: crash # co19-roll r546: Please triage this failure
Language/15_Types/4_Interface_Types_A11_t02: crash # co19-roll r546: Please triage this failure
Language/15_Types/4_Interface_Types_A11_t04: fail # Issue 14654
Language/15_Types/5_Function_Types_A06_t01: fail # co19-roll r546: Please triage this failure
Language/16_Reference/1_Lexical_Rules/1_Reserved_Words_A40_t04: fail # co19-roll r546: Please triage this failure
Language/16_Reference/1_Lexical_Rules_A02_t06: fail # co19-roll r546: Please triage this failure
LibTest/async/DeferredLibrary/DeferredLibrary_A01_t01: RuntimeError # Issue 22032
LibTest/core/DateTime/parse_A03_t01: fail # co19-roll r546: Please triage this failure
LibTest/core/Function/Function_class_A01_t01: RuntimeError # co19-roll r623: Please triage this failure
LibTest/core/Invocation/memberName_A01_t01: Pass, RuntimeError # co18-roll r607: Please triage this failure
LibTest/core/RegExp/Pattern_semantics/firstMatch_NonEmptyClassRanges_A01_t01: Fail # inherited from VM. Issue 22200
LibTest/core/RegExp/Pattern_semantics/firstMatch_NonEmptyClassRanges_A01_t05: Fail # inherited from VM. Issue 22200
LibTest/core/RegExp/Pattern_semantics/firstMatch_NonEmptyClassRanges_A01_t06: Fail # inherited from VM. Issue 22200
LibTest/core/Symbol/Symbol_A01_t03: RuntimeError # co19-roll r607: Please triage this failure
LibTest/core/Symbol/Symbol_A01_t05: RuntimeError # co19-roll r607: Please triage this failure
LibTest/core/int/operator_left_shift_A01_t02: Fail, OK # co19 issue 129
LibTest/core/int/toRadixString_A01_t01: Fail # inherited from VM
LibTest/isolate/Isolate/spawnUri_A01_t01: Fail # co19-roll r672: Please triage this failure
LibTest/isolate/Isolate/spawnUri_A01_t02: Fail # co19-roll r672: Please triage this failure
LibTest/isolate/Isolate/spawnUri_A01_t03: Fail # co19-roll r672: Please triage this failure
LibTest/isolate/Isolate/spawnUri_A01_t04: Fail # co19-roll r672: Please triage this failure
LibTest/isolate/Isolate/spawnUri_A01_t05: Fail # co19-roll r672: Please triage this failure
LibTest/isolate/Isolate/spawnUri_A02_t01: RuntimeError # Issue 15617
LibTest/isolate/Isolate/spawn_A02_t02: RuntimeError # Issue 15617
LibTest/isolate/IsolateStream/any_A02_t01: fail # co19-roll r546: Please triage this failure
LibTest/isolate/ReceivePort/receive_A01_t02: Fail, OK # co19 issue 276
LibTest/isolate/SendPort/send_A01_t01: CompileTimeError # co19-roll r706: Please triage this failure
LibTest/isolate/SendPort/send_A01_t02: CompileTimeError # co19-roll r706: Please triage this failure
LibTest/isolate/SendPort/send_A01_t03: CompileTimeError # co19-roll r706: Please triage this failure
LibTest/isolate/SendPort/send_A02_t02: timeout # co19-roll r546: Please triage this failure
LibTest/isolate/SendPort/send_A02_t03: timeout # co19-roll r546: Please triage this failure
LibTest/math/tan_A01_t01: Fail # co19 issue 44
LibTest/typed_data/Float32x4/equal_A01_t01: Skip # co19 issue 656
LibTest/typed_data/Float32x4/greaterThanOrEqual_A01_t01: Skip # co19 issue 656
LibTest/typed_data/Float32x4/greaterThan_A01_t01: Skip # co19 issue 656
LibTest/typed_data/Float32x4/lessThanOrEqual_A01_t01: Skip # co19 issue 656
LibTest/typed_data/Float32x4/lessThan_A01_t01: Skip # co19 issue 656
LibTest/typed_data/Float32x4/notEqual_A01_t01: Skip # co19 issue 656
[ $compiler == dart2dart && $system == windows ]
LibTest/core/double/operator_remainder_A01_t04: Fail # Result is NaN
LibTest/core/double/round_A01_t01: Fail # Result is NaN
LibTest/core/double/remainder_A01_t04: Fail # Result is NaN
[ $compiler == dart2dart && $system == macos ]
LibTest/math/acos_A01_t01: Fail, OK # co19 issue 44
LibTest/math/asin_A01_t01: Fail, OK # co19 issue 44
LibTest/math/atan_A01_t01: Fail, OK # co19 issue 44
[ $compiler == dart2dart && $minified ]
Language/12_Expressions/14_Function_Invocation/4_Function_Expression_Invocation_A01_t02: fail # co19-roll r559: Please triage this failure
Language/12_Expressions/17_Getter_Invocation_A02_t01: fail # co19-roll r559: Please triage this failure
Language/12_Expressions/18_Assignment_A05_t02: fail # co19-roll r559: Please triage this failure
Language/12_Expressions/18_Assignment_A05_t04: fail # co19-roll r559: Please triage this failure
LibTest/convert/JsonCodec/encode_A01_t02: RuntimeError # co19-roll r641: Please triage this failure

View file

@ -49,7 +49,6 @@ Language/14_Libraries_and_Scripts/2_Exports_A05_t02: Fail
Language/14_Libraries_and_Scripts/3_Parts_A01_t06: Fail
[ $runtime == vm ]
# These flaky tests also fail with dart2dart.
LibTest/math/MutableRectangle/MutableRectangle.fromPoints_A01_t01: Pass, RuntimeError # co19-roll r607: Please triage this failure
[ $compiler == none && $runtime == vm && $mode == debug ]

View file

@ -2,21 +2,6 @@
# 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.
[ $compiler == dart2dart]
bool_from_environment2_test: Skip
bool_from_environment_default_value_test: Skip
bool_from_environment_test: Skip
from_environment_const_type_test: Skip
from_environment_const_type_undefined_test: Skip
int_from_environment2_test: Skip
int_from_environment3_test: Skip
int_from_environment_default_value_test: Skip
int_from_environment_test: Skip
string_from_environment2_test: Skip
string_from_environment3_test: Skip
string_from_environment_default_value: Skip
string_from_environment_test: Skip
[ $compiler == none && ($runtime == drt || $runtime == dartium || $runtime == ContentShellOnAndroid) ]
bool_from_environment2_test: Skip
bool_from_environment_default_value_test: Skip
@ -39,7 +24,7 @@ compare_to2_test: Fail # Bug 4018
symbol_test/01: Fail, Pass # bug 11669
# #void should be a valid symbol.
[ $compiler == none || $compiler == dart2js || $compiler == dart2dart ]
[ $compiler == none || $compiler == dart2js ]
symbol_reserved_word_test/02: CompileTimeError # bug 20191
symbol_reserved_word_test/05: CompileTimeError # bug 20191
@ -57,7 +42,7 @@ integer_to_radix_string_test: RuntimeError # issue 22045
# With the exception of 'void', const Symbol() should not accept reserved
# words.
[ $compiler == none || $compiler == dart2js || $compiler == dart2dart]
[ $compiler == none || $compiler == dart2js ]
symbol_reserved_word_test/04: MissingCompileTimeError # bug 11669, 19972
symbol_reserved_word_test/07: MissingCompileTimeError # bug 11669, 19972
symbol_reserved_word_test/10: MissingCompileTimeError # bug 11669, 19972
@ -68,7 +53,7 @@ symbol_reserved_word_test/07: Fail # bug 11669, 19972 / dartium/drt cannot detec
symbol_reserved_word_test/10: Fail # bug 11669, 19972 / dartium/drt cannot detect CompileTimeErrors
# With the exception of 'void', new Symbol() should not accept reserved words.
[ $compiler == none || $compiler == dart2dart ]
[ $compiler == none ]
symbol_reserved_word_test/06: RuntimeError # bug 11669
symbol_reserved_word_test/09: RuntimeError # bug 11669
symbol_reserved_word_test/12: RuntimeError # bug 11669
@ -77,7 +62,7 @@ symbol_reserved_word_test/12: RuntimeError # bug 11669
symbol_test/02: MissingCompileTimeError # bug 11669
symbol_test/03: MissingCompileTimeError # bug 11669
[ $compiler == none || $compiler == dart2dart ]
[ $compiler == none ]
symbol_test/none: Fail # bug 11669
symbol_operator_test/03: Fail # bug 11669
string_case_test/01: Fail # Bug 18061
@ -155,13 +140,6 @@ string_case_test/01: Fail, OK # Bug in Firefox.
string_case_test/02: Fail, OK # Bug in dartium version of V8.
string_case_test/03: Fail, OK # Bug in dartium version of V8.
[ $compiler == dart2dart ]
compare_to2_test: Fail # inherited from VM
unicode_test: Fail # inherited from VM
[ $compiler == dart2dart && $minified ]
error_stack_trace1_test: Fail # Fails in minified mode, test depends on method names.
[ $compiler == dartanalyzer ]
from_environment_const_type_test: Skip # The -D option that defines a constant
# for the Dart vm is not accepted by the deprecated java dartanalyzer.

View file

@ -9,7 +9,7 @@ isolate_stress_test: Fail # Issue 12588: This should be able to pass when we hav
[ $runtime == vm && $arch == mips && $mode == debug ]
mandel_isolate_test: Skip # Uses 600 MB Ram on our 1 GB test device.
[ $compiler == none || $compiler == dart2dart ]
[ $compiler == none ]
compile_time_error_test/01: Skip # Issue 12587
ping_test: Skip # Resolve test issues
ping_pause_test: Skip # Resolve test issues
@ -59,17 +59,6 @@ isolate_stress_test: Pass, Slow # TODO(kasperl): Please triage.
mandel_isolate_test: Pass, Timeout # TODO(kasperl): Please triage.
[ $compiler == dart2dart ]
illegal_msg_mirror_test: RuntimeError # Issue 16548
spawn_uri_multi_test/none: RuntimeError # Issue 16549
spawn_uri_nested_vm_test: RuntimeError # Issue 16549
spawn_uri_test: RuntimeError # Issue 16549
spawn_uri_vm_test: RuntimeError # Issue 16549
spawn_uri_exported_main_test: RuntimeError # Issue 16549
issue_21398_parent_isolate_test: RuntimeError # Issue 16549
issue_21398_parent_isolate1_test: RuntimeError # Issue 16549
issue_21398_parent_isolate2_test: Skip # Not implemented yet
[ $compiler == dart2js && ( $runtime == ff || $runtime == safari || $runtime == drt || $runtime == chrome || $runtime == chromeOnAndroid) ]
isolate_stress_test: Pass, Slow # Issue 10697
@ -82,7 +71,7 @@ spawn_uri_nested_vm_test: Skip # Issue 14463
[ $jscl ]
spawn_uri_multi_test/none: RuntimeError # Issue 13544
[ ($compiler == none || $compiler == dart2dart) && ($runtime == dartium || $runtime == drt || $runtime == ContentShellOnAndroid) ]
[ $compiler == none && ($runtime == dartium || $runtime == drt || $runtime == ContentShellOnAndroid) ]
pause_test: Fail # Not implemented yet
[ $compiler == none && $runtime == ContentShellOnAndroid ]

View file

@ -28,27 +28,7 @@ conditional_property_assignment_test: Fail
conditional_property_access_test: Fail
conditional_method_invocation_test: Fail
[ $compiler == dart2dart ]
deferred_load_library_wrong_args_test/none: Fail # Issue 17523
deferred_load_inval_code_test: Fail # Issue 17523
deferred_not_loaded_check_test: Fail # Issue 17523
deferred_constraints_type_annotation_test/*: Fail, Pass # Issue 17523
deferred_constraints_constants_test/*: Fail, Pass # Issue 17523
deferred_shadow_load_library_test: Fail # Issue 17523
deferred_closurize_load_library_test: Fail # Issue 17523
deferred_inlined_test: Fail # Issue 17523
deferred_optimized_test: Fail # Issue 17523
regress_22443_test: Fail # Issue 17523
enum_mirror_test: Skip # Issue 11511.
getter_setter_in_lib_test: Fail # Issue 23288
override_inheritance_mixed_test/08: Fail # Issue 18124
override_inheritance_mixed_test/09: Fail # Issue 18124
[ $compiler == dart2dart ]
multiline_strings_test: Fail # Issue (pending)
[ $compiler == none || $compiler == dart2dart ]
[ $compiler == none ]
# Non-contractive types are not supported in the vm.
cyclic_type_test/02: Fail, OK
cyclic_type_test/04: Fail, OK

View file

@ -18,7 +18,7 @@ try_catch_on_syntax_test/11: Fail # Issue 19823
await_for_test: Skip # Jsshell does not provide periodic timers, Issue 7728
async_star_test: RuntimeError # Jsshell does not provide non-zero timers, Issue 7728
[ $compiler == dart2js || $compiler == dart2dart ]
[ $compiler == dart2js ]
symbol_literal_test/*: Fail # Issue 21825
constructor_duplicate_final_test/01: Fail # Issue 13363
constructor_duplicate_final_test/02: Fail # Issue 13363
@ -93,7 +93,7 @@ malbounded_type_test_test/04: Fail # Issue 14121
malbounded_type_test2_test: Fail # Issue 14121
default_factory2_test/01: Fail # Issue 14121
[ ($compiler == dart2js || $compiler == dart2dart) && $checked ]
[ $compiler == dart2js && $checked ]
compile_time_constant_checked5_test/06: Fail # Issue 23182
compile_time_constant_checked5_test/07: Fail # Issue 23182
compile_time_constant_checked5_test/10: Fail # Issue 23182
@ -218,84 +218,6 @@ call_through_getter_test: Fail, OK
[ $compiler == dart2js && $runtime == chromeOnAndroid ]
override_field_test/02: Pass, Slow # TODO(kasperl): Please triage.
[ $compiler == dart2dart && $builder_tag == new_backend ]
regress_13494_test: Pass # Issue 22370, passes for the wrong reason
[ $compiler == dart2dart && $minified == true ]
type_variable_conflict2_test/01: RuntimeError # Issue 16180
[ $compiler == dart2dart ]
sync_generator2_test/07: MissingCompileTimeError # Issue 22324
sync_generator2_test/08: MissingCompileTimeError # Issue 22324
sync_generator2_test/10: MissingCompileTimeError # Issue 22324
regress_13494_test: Fail # Issue 22370
enum_duplicate_test/01: CompileTimeError # Issue 22169
built_in_identifier_prefix_test: Fail # Issue 6972
constructor_initializer_test/none: Fail # Issue 12633
# Mixins fail on the VM.
mixin_with_two_implicit_constructors_test: Fail # Issue 11889
# Calling unresolved class constructor:
call_nonexistent_constructor_test/01: Fail # Issue 13082
call_nonexistent_constructor_test/02: Fail # Issue 13082
private_access_test/05: Fail # Issue 13082
private_access_test/06: Fail # Issue 13082
bad_override_test/01: Fail # Issue 11496
bad_override_test/02: Fail # Issue 11496
constructor_named_arguments_test/01: Fail # Issue 5519
not_enough_positional_arguments_test/01: Fail # Issue 12839
not_enough_positional_arguments_test/02: Fail # Issue 12839
not_enough_positional_arguments_test/05: Fail # Issue 12839
metadata_test: Fail # Issue 12762
const_evaluation_test/01: Fail # Issue 12762
built_in_identifier_test/01: Fail # Issue 13022
method_override4_test: Fail # Issue 12810
method_override5_test: Fail # Issue 12810
scope_variable_test/01: Fail # Issue 13016
factory_redirection_test/01: Fail # Issue 12753
# DartVM problem.
constructor5_test: Fail
constructor6_test: Fail
closure_in_initializer_test: Fail
new_expression_type_args_test/00: Fail # Wrongly reports compile-time error.
new_expression_type_args_test/01: Fail # Wrongly reports compile-time error.
deferred*: skip # Issue 17523
cha_deopt1_test: skip # Issue 17523
cha_deopt2_test: skip # Issue 17523
cha_deopt3_test: skip # Issue 17523
issue_1751477_test: skip # Issue 17523
external_test/21: MissingCompileTimeError # Issue 12888
external_test/24: MissingCompileTimeError # Issue 12888
function_propagation_test: RuntimeError # Issue 21673
function_subtype_call0_test: RuntimeError # Issue 21673
function_subtype_call1_test: RuntimeError # Issue 21673
function_subtype_call2_test: RuntimeError # Issue 21673
instance_creation_in_function_annotation_test: Fail # Issue 23363
[ $compiler == dart2dart && $minified ]
cyclic_type_test/0*: Fail # Issue 12605.
cyclic_type2_test: Fail # Issue 12605.
super_getter_setter_test: Fail # Issue 11065.
f_bounded_quantification4_test: Fail # Issue 12605.
f_bounded_quantification5_test: Fail # Issue 12605.
type_variable_typedef_test: Fail # Issue 11467
invocation_mirror_test: Fail, OK # Issue 12706 (hardcoded names).
super_call4_test: Fail, OK # hardcoded names.
[ $minified ]
stack_trace_test: Fail, OK # Stack trace not preserved in minified code.
regress_21795_test: RuntimeError # Issue 12605

View file

@ -193,13 +193,6 @@ async/timer_not_available_test: Fail, OK # only meant to test when there is no w
[ $runtime == vm ]
js/*: Skip
[ $compiler == dart2dart ]
mirrors/*: Skip # Issue 11511
async/schedule_microtask6_test: Fail # Issue 10957 - may be related to issue 10910
[ $compiler == dart2dart && $minified ]
convert/json_lib_test: Fail # Issue 10961
[ $compiler == dart2js && $minified ]
mirrors/mirrors_used_get_name_test: RuntimeError
mirrors/mirrors_used_get_name2_test: RuntimeError
@ -276,10 +269,6 @@ mirrors/mirrors_reader_test: SkipSlow # Times out. Issue 19127
[ $compiler == dart2js && $runtime == safarimobilesim ]
mirrors/mirrors_reader_test: SkipSlow # Times out. Issue 20806.
[ $compiler == dart2dart ]
# Deferred loading is not supported by dart2dart.
async/deferred/deferred_in_isolate_test: Skip # Issue 17523
[ $compiler == none && ($runtime == drt || $runtime == dartium || $runtime == ContentShellOnAndroid) ]
# Dart vm does not support spawn from a dom-enabled isolate.
async/deferred/deferred_in_isolate_test: RuntimeError # Issue 16209

View file

@ -107,10 +107,6 @@ oom_error_stacktrace_test: Pass # The test only fails at runtime.
[ $compiler == dart2js && $browser ]
*: Skip
[ $compiler == dart2dart ]
# Skip until we stabilize language tests.
*: Skip
[ $arch == simarm || $arch == simarmv5te || $arch == simmips]
out_of_memory_test: Skip # passes on Mac, crashes on Linux
oom_error_stacktrace_test: Skip # Fails on Linux

View file

@ -28,10 +28,6 @@ dummy_compiler_test: Pass, RuntimeError # Issue 17662
recursive_import_test: Pass, RuntimeError # Issue 17662
source_mirrors_test: Pass, RuntimeError # Issue 17662
[ $compiler == dart2dart && $builder_tag != new_backend ]
source_mirrors_test: Slow, Pass
dummy_compiler_test: Slow, Pass
[ $compiler == dart2js && $cps_ir ]
dummy_compiler_test: Crash # (throw _buildException('asyncEnd() was called before asyncStart().')): Unhandled node
recursive_import_test: Crash # (throw _buildException('asyncEnd() was called before asyncStart().')): Unhandled node

View file

@ -25,7 +25,7 @@ class BuildInfo(object):
"""
Encapsulation of build information.
- compiler: None, 'dart2dart' or 'dart2js'
- compiler: None or 'dart2js'
- runtime: 'd8', 'ie', 'ff', 'safari', 'chrome', 'opera', or None.
- mode: 'debug' or 'release'.
- system: 'linux', 'mac', or 'win7'.

View file

@ -3,5 +3,5 @@
# BSD-style license that can be found in the LICENSE file.
# docs.dart is a tool that only runs on the VM
[ $compiler == dart2js || $compiler == dart2dart || $runtime == drt || $runtime == dartium ]
[ $compiler == dart2js || $runtime == drt || $runtime == dartium ]
*: Skip

View file

@ -41,7 +41,6 @@ final STATUS_TUPLES = [
"tests/benchmark_smoke/benchmark_smoke.status"],
["co19", "tests/co19/src", "tests/co19/co19-analyzer2.status"],
["co19", "tests/co19/src", "tests/co19/co19-analyzer.status"],
["co19", "tests/co19/src", "tests/co19/co19-dart2dart.status"],
["co19", "tests/co19/src", "tests/co19/co19-dart2js.status"],
["co19", "tests/co19/src", "tests/co19/co19-co19.status"],
["co19", "tests/co19/src", "tests/co19/co19-dartium.status"],

View file

@ -30,8 +30,6 @@ const List<List<String>> COMMAND_LINES = const <List<String>>[
const <String>['-mrelease,debug', '-rvm', '-cnone', '--checked'],
const <String>['-mrelease', '-rnone', '-cdartanalyzer'],
const <String>['-mrelease', '-rnone', '-cdart2analyzer'],
const <String>['-mrelease', '-rvm', '-cdart2dart', '--use-sdk'],
const <String>['-mrelease', '-rvm', '-cdart2dart', '--use-sdk', '--minified'],
const <String>['-mrelease', '-rd8', '-cdart2js', '--use-sdk'],
const <String>['-mrelease', '-rd8,jsshell', '-cdart2js', '--use-sdk',
'--minified'],

View file

@ -18,7 +18,6 @@ class Co19TestSuite extends StandardTestSuite {
"tests/co19/co19-analyzer.status",
"tests/co19/co19-analyzer2.status",
"tests/co19/co19-runtime.status",
"tests/co19/co19-dart2dart.status",
"tests/co19/co19-dart2js.status",
"tests/co19/co19-dartium.status"]);

View file

@ -77,10 +77,6 @@ abstract class CompilerConfiguration {
isHostChecked: isHostChecked, useCps: useCps, useSdk: useSdk,
isCsp: isCsp, extraDart2jsOptions:
TestUtils.getExtraOptions(configuration, 'dart2js_options'));
case 'dart2dart':
return new Dart2dartCompilerConfiguration(
isDebug: isDebug, isChecked: isChecked,
isHostChecked: isHostChecked, useSdk: useSdk);
case 'none':
return new NoneCompilerConfiguration(
isDebug: isDebug, isChecked: isChecked,
@ -166,8 +162,7 @@ class NoneCompilerConfiguration extends CompilerConfiguration {
}
}
/// Common configuration for dart2js-based tools, such as, dart2js and
/// dart2dart.
/// Common configuration for dart2js-based tools, such as, dart2js
class Dart2xCompilerConfiguration extends CompilerConfiguration {
final String moniker;
static Map<String, List<Uri>> _bootstrapDependenciesCache =
@ -290,54 +285,6 @@ class Dart2jsCompilerConfiguration extends Dart2xCompilerConfiguration {
}
}
/// Configuration for dart2dart compiler.
class Dart2dartCompilerConfiguration extends Dart2xCompilerConfiguration {
Dart2dartCompilerConfiguration({
bool isDebug,
bool isChecked,
bool isHostChecked,
bool useSdk})
: super(
'dart2dart',
isDebug: isDebug, isChecked: isChecked,
isHostChecked: isHostChecked, useSdk: useSdk);
CommandArtifact computeCompilationArtifact(
String buildDir,
String tempDir,
CommandBuilder commandBuilder,
List arguments,
Map<String, String> environmentOverrides) {
String outputFileName = '$tempDir/out.dart';
arguments = new List.from(arguments)..add('--output-type=dart');
return new CommandArtifact(
<Command>[
this.computeCompilationCommand(
outputFileName,
buildDir,
CommandBuilder.instance,
arguments,
environmentOverrides)],
outputFileName,
'application/dart');
}
List<String> computeRuntimeArguments(
RuntimeConfiguration runtimeConfiguration,
String buildDir,
TestInformation info,
List<String> vmOptions,
List<String> sharedOptions,
List<String> originalArguments,
CommandArtifact artifact) {
// TODO(antonm): support checked.
return <String>[]
..addAll(vmOptions)
..add('--ignore-unrecognized-flags')
..add(artifact.filename);
}
}
/// Common configuration for analyzer-based tools, such as, dartanalyzer.
class AnalyzerCompilerConfiguration extends CompilerConfiguration {
final String moniker;

View file

@ -18,12 +18,6 @@ List<Map> LINUX_COMBINATIONS = [
'archs' : ['ia32', 'x64', 'simarm', 'simmips'],
'compiler' : 'none'
},
{
'runtimes' : ['vm'],
'modes' : ['release'],
'archs' : ['ia32', 'x64'],
'compiler' : 'dart2dart'
},
{
'runtimes' : ['d8', 'jsshell', 'chrome', 'ff'],
'modes' : ['release'],

View file

@ -60,9 +60,6 @@ class TestOptionsParser {
none: Do not compile the Dart code (run native Dart code on the VM).
(only valid with the following runtimes: vm, drt)
dart2dart: Compile Dart code to Dart code
(only valid with the following runtimes: vm, drt)
dart2js: Compile dart code to JavaScript by running dart2js.
(only valid with the following runtimes: d8, drt, chrome,
safari, ie9, ie10, ie11, firefox, opera, chromeOnAndroid,
@ -72,7 +69,7 @@ class TestOptionsParser {
dart2analyzer: Perform static analysis on Dart code by running the analyzer on Dart.
(only valid with the following runtimes: none)''',
['-c', '--compiler'],
['none', 'dart2dart', 'dart2js', 'dartanalyzer', 'dart2analyzer'],
['none', 'dart2js', 'dartanalyzer', 'dart2analyzer'],
'none'),
// TODO(antonm): fix the option drt.
new _TestOptionSpecification(
@ -651,7 +648,6 @@ Note: currently only implemented for dart2js.''',
validRuntimes = const ['none'];
break;
case 'none':
case 'dart2dart':
validRuntimes = const ['vm', 'drt', 'dartium',
'ContentShellOnAndroid', 'DartiumOnAndroid'];
break;

View file

@ -1564,7 +1564,7 @@ class CompilationCommandOutputImpl extends CommandOutputImpl {
if (hasCrashed) return Expectation.CRASH;
if (hasTimedOut) return Expectation.TIMEOUT;
// Handle dart2js/dart2dart specific crash detection
// Handle dart2js specific crash detection
if (exitCode == DART2JS_EXITCODE_CRASH ||
exitCode == VmCommandOutputImpl.DART_VM_EXITCODE_COMPILE_TIME_ERROR ||
exitCode == VmCommandOutputImpl.DART_VM_EXITCODE_UNCAUGHT_EXCEPTION) {

View file

@ -1328,7 +1328,7 @@ class StandardTestSuite extends TestSuite {
contentShellOptions.add('--no-timeout');
contentShellOptions.add('--dump-render-tree');
if (compiler == 'none' || compiler == 'dart2dart') {
if (compiler == 'none') {
dartFlags.add('--ignore-unrecognized-flags');
if (configuration["checked"]) {
dartFlags.add('--enable_asserts');
@ -1455,7 +1455,7 @@ class StandardTestSuite extends TestSuite {
/** Helper to create a compilation command for a single input file. */
Command _compileCommand(String inputFile, String outputFile,
String compiler, String dir, optionsFromFile) {
assert (['dart2js', 'dart2dart'].contains(compiler));
assert (compiler == 'dart2js')
List<String> args;
if (compilerPath.endsWith('.dart')) {
// Run the compiler script via the Dart VM.
@ -1495,7 +1495,6 @@ class StandardTestSuite extends TestSuite {
String get scriptType {
switch (configuration['compiler']) {
case 'none':
case 'dart2dart':
return 'application/dart';
case 'dart2js':
case 'dartanalyzer':
@ -1592,7 +1591,7 @@ class StandardTestSuite extends TestSuite {
*
* // VMOptions=--flag1 --flag2
*
* - Flags can be passed to dart2js, dart2dart or vm by adding a comment
* - Flags can be passed to dart2js or vm by adding a comment
* to the test file:
*
* // SharedOptions=--flag1 --flag2
@ -1744,18 +1743,14 @@ class StandardTestSuite extends TestSuite {
}
List<List<String>> getVmOptions(Map optionsFromFile) {
var COMPILERS = const ['none', 'dart2dart'];
var COMPILERS = const ['none'];
var RUNTIMES = const ['none', 'vm', 'drt', 'dartium',
'ContentShellOnAndroid', 'DartiumOnAndroid'];
var needsVmOptions = COMPILERS.contains(configuration['compiler']) &&
RUNTIMES.contains(configuration['runtime']);
if (!needsVmOptions) return [[]];
final vmOptions = optionsFromFile['vmOptions'];
if (configuration['compiler'] != 'dart2dart') return vmOptions;
// Temporary workaround for race in test suite: tests with different
// vm options are still compiled into the same output file which
// may lead to reads from empty files.
return [vmOptions[0]];
return vmOptions;
}
/**
@ -2203,7 +2198,7 @@ class TestUtils {
args.add("--enable_type_checks");
}
String compiler = configuration["compiler"];
if (compiler == "dart2js" || compiler == "dart2dart") {
if (compiler == "dart2js") {
args = [];
if (configuration["checked"]) {
args.add('--enable-checked-mode');
@ -2214,7 +2209,7 @@ class TestUtils {
args.add("--categories=all");
}
}
if ((compiler == "dart2js" || compiler == "dart2dart") &&
if ((compiler == "dart2js") &&
configuration["minified"]) {
args.add("--minify");
}