diff --git a/tests/corelib/corelib.status b/tests/corelib/corelib.status index cfdb8389f46..84310144042 100644 --- a/tests/corelib/corelib.status +++ b/tests/corelib/corelib.status @@ -4,17 +4,14 @@ [ $compiler == none && ($runtime == drt || $runtime == dartium || $runtime == ContentShellOnAndroid) ] 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 ] @@ -215,7 +212,6 @@ big_integer_parsed_mul_div_vm_test: Pass, Slow [ $compiler == dart2js && $cps_ir ] apply2_test: Crash # Instance of 'TypeOperator': type check unimplemented for _Nullary. apply_test: Crash # (test0): handleStaticFunctionGet: function(test0) -bool_from_environment_default_value_test: Crash # (test): handleStaticFunctionGet: function(test) collection_removes_test: RuntimeError # Please triage this failure. collection_to_string_test: Crash # Instance of 'TypeOperator': type check unimplemented for List. compare_to2_test: Crash # Instance of 'TypeOperator': type check unimplemented for List. @@ -249,7 +245,6 @@ hash_set_test/none: Crash # (testIdentitySet): handleStaticFunctionGet: function hash_set_type_check_test: Crash # Instance of 'TypeOperator': type check unimplemented for _Nullary. hashcode_test: Crash # (bar): handleStaticFunctionGet: function(bar) indexed_list_access_test: Crash # (getIt): handleStaticFunctionGet: function(getIt) -int_from_environment_default_value_test: Crash # (test): handleStaticFunctionGet: function(test) int_parse_radix_test/01: Crash # Please triage this failure. int_parse_radix_test/02: Crash # Please triage this failure. int_parse_radix_test/none: Crash # Please triage this failure. diff --git a/tests/corelib/bool_from_environment_default_value_test.dart b/tests/isolate/bool_from_environment_default_value_test.dart similarity index 100% rename from tests/corelib/bool_from_environment_default_value_test.dart rename to tests/isolate/bool_from_environment_default_value_test.dart diff --git a/tests/language/deferred_in_isolate_app.dart b/tests/isolate/deferred_in_isolate_app.dart similarity index 100% rename from tests/language/deferred_in_isolate_app.dart rename to tests/isolate/deferred_in_isolate_app.dart diff --git a/tests/language/deferred_in_isolate_lib.dart b/tests/isolate/deferred_in_isolate_lib.dart similarity index 100% rename from tests/language/deferred_in_isolate_lib.dart rename to tests/isolate/deferred_in_isolate_lib.dart diff --git a/tests/language/deferred_in_isolate_test.dart b/tests/isolate/deferred_in_isolate_test.dart similarity index 100% rename from tests/language/deferred_in_isolate_test.dart rename to tests/isolate/deferred_in_isolate_test.dart diff --git a/tests/language/enum_const_test.dart b/tests/isolate/enum_const_test.dart similarity index 100% rename from tests/language/enum_const_test.dart rename to tests/isolate/enum_const_test.dart diff --git a/tests/corelib/int_from_environment_default_value_test.dart b/tests/isolate/int_from_environment_default_value_test.dart similarity index 100% rename from tests/corelib/int_from_environment_default_value_test.dart rename to tests/isolate/int_from_environment_default_value_test.dart diff --git a/tests/isolate/isolate.status b/tests/isolate/isolate.status index bc0a35c7ca6..c77747758ce 100644 --- a/tests/isolate/isolate.status +++ b/tests/isolate/isolate.status @@ -31,7 +31,8 @@ compile_time_error_test/none: Pass, Slow browser/*: SkipByDesign # Browser specific tests [ $compiler == dart2js && $runtime == jsshell ] -pause_test: Fail # non-zero timer not supported. +pause_test: Fail, OK # non-zero timer not supported. +timer_isolate_test: Fail, OK # Needs Timer to run. [ $compiler == dart2js && $runtime == safari ] cross_isolate_message_test: Skip # Issue 12627 @@ -50,6 +51,7 @@ message3_test/constList_identical: RuntimeError # Issue 21817 message3_test/constMap: RuntimeError # Issue 21817 message3_test/constInstance: RuntimeError # Issue 21817 browser/issue_12474_test: CompileTimeError # Issue 22529 +enum_const_test/02: RuntimeError # Issue 21817 [ $compiler == dart2js && $jscl ] spawn_uri_test: SkipByDesign # Loading another file is not supported in JS shell @@ -81,6 +83,7 @@ nested_spawn2_test: Skip # Issue 19127: This test is timing out. spawn_uri_nested_vm_test: Skip # Issue 14479: This test is timing out. [ $compiler == none && ( $runtime == dartium || $runtime == drt || $runtime == ContentShellOnAndroid) ] +typed_message_test: Crash, Fail # Issue 13921, 14400 message_enum_test: Fail, OK # Issue 13921 Dom isolates don't support spawnFunction compile_time_error_test/none: Fail, OK # Issue 13921 Dom isolates don't support spawnFunction isolate_import_test/none: Fail, OK # Issue 13921 Dom isolates don't support spawnFunction @@ -103,6 +106,11 @@ kill_self_test: Fail, OK # 13921 Dom isolates don't support spawnFunction handle_error_test: Fail, OK # 13921 Dom isolates don't support spawnFunction handle_error2_test: Fail, OK # 13921 Dom isolates don't support spawnFunction handle_error3_test: Fail, OK # 13921 Dom isolates don't support spawnFunction +timer_isolate_test: Fail, Pass # Issue 15487. Issue 13921: Dom isolates don't support spawnFunction +deferred_in_isolate_test: Fail, OK # Issue 16209, 13921 Dom isolates don't support spawnFunction +bool_from_environment_default_value_test: Skip +int_from_environment_default_value_test: Skip +string_from_environment_default_value_test: Skip [ $compiler == dartanalyzer || $compiler == dart2analyzer ] browser/typed_data_message_test: StaticWarning @@ -112,6 +120,7 @@ mint_maker_test: StaticWarning package_root_test: SkipByDesign # Uses dart:io. [ $compiler == dart2js && $cps_ir ] +bool_from_environment_default_value_test: Crash # (test): handleStaticFunctionGet: function(test) compile_time_error_test/01: Crash # (entry): handleStaticFunctionGet: function(entry) compile_time_error_test/none: Crash # (entry): handleStaticFunctionGet: function(entry) count_test: Crash # (main): handleStaticFunctionGet: function(main) @@ -122,6 +131,7 @@ handle_error3_test: Crash # (isomain1): handleStaticFunctionGet: function(isomai handle_error_test: Crash # (isomain1): handleStaticFunctionGet: function(isomain1) illegal_msg_function_test: Crash # (main): handleStaticFunctionGet: function(main) illegal_msg_mirror_test: Crash # (main): handleStaticFunctionGet: function(main) +int_from_environment_default_value_test: Crash # (test): handleStaticFunctionGet: function(test) isolate_complex_messages_test: Crash # (main): handleStaticFunctionGet: function(main) isolate_current_test: Crash # (i2l): handleStaticFunctionGet: function(i2l) isolate_import_test/01: Crash # (entry): handleStaticFunctionGet: function(entry) @@ -164,4 +174,8 @@ spawn_uri_multi_test/none: Crash # unsupported element kind: _defaultEnvironment stacktrace_message_test: Crash # (main): handleStaticFunctionGet: function(main) start_paused_test: Crash # (notyet): handleStaticFunctionGet: function(notyet) static_function_test: Crash # (main): handleStaticFunctionGet: function(main) +string_from_environment_default_value_test: Crash # (test): handleStaticFunctionGet: function(test) +timer_isolate_test: Crash # cannot compile methods that need interceptor calling convention. +typed_message_test: Crash # (logMessages): handleStaticFunctionGet: function(logMessages) unresolved_ports_test: Crash # (main): handleStaticFunctionGet: function(main) + diff --git a/tests/corelib/string_from_environment_default_value.dart b/tests/isolate/string_from_environment_default_value_test.dart similarity index 100% rename from tests/corelib/string_from_environment_default_value.dart rename to tests/isolate/string_from_environment_default_value_test.dart diff --git a/tests/lib/async/timer_isolate_test.dart b/tests/isolate/timer_isolate_test.dart similarity index 100% rename from tests/lib/async/timer_isolate_test.dart rename to tests/isolate/timer_isolate_test.dart diff --git a/tests/language/typed_message_test.dart b/tests/isolate/typed_message_test.dart similarity index 100% rename from tests/language/typed_message_test.dart rename to tests/isolate/typed_message_test.dart diff --git a/tests/language/language.status b/tests/language/language.status index eb3507488f9..bc11d57b3aa 100644 --- a/tests/language/language.status +++ b/tests/language/language.status @@ -71,7 +71,6 @@ vm/type_vm_test: Fail # Issue 14651. [ $compiler == none && ( $runtime == dartium || $runtime == drt || $runtime == ContentShellOnAndroid) ] issue13474_test: Pass, Fail # Issue 14651. -typed_message_test: Crash, Fail # Issue 13921, 14400 vm/optimized_guarded_field_isolates_test: Fail # Issue 13921. main_test/01: Fail # Issue 20028 main_test/02: Fail # Issue 20028 diff --git a/tests/language/language_dart2js.status b/tests/language/language_dart2js.status index c689ef89d84..01813e89abf 100644 --- a/tests/language/language_dart2js.status +++ b/tests/language/language_dart2js.status @@ -174,8 +174,6 @@ generic_closure_test: RuntimeError # Issue 12605 const_switch_test/02: RuntimeError # Issue 17960 const_switch_test/04: RuntimeError # Issue 17960 -enum_const_test/02: RuntimeError # Issue 21817 - const_dynamic_type_literal_test/02: CompileTimeError # Issue 23009 const_dynamic_type_literal_test/03: CompileTimeError # Issue 23009 @@ -1143,7 +1141,6 @@ type_variable_nested_test: Crash # Instance of 'TypeOperator': type check unimpl type_variable_scope2_test: Crash # Instance of 'TypeOperator': type check unimplemented for Foo. type_variable_typedef_test: Crash # (foo): handleStaticFunctionGet: function(foo) typed_equality_test: Crash # Instance of 'TypeOperator': type casts not implemented. -typed_message_test: Crash # (logMessages): handleStaticFunctionGet: function(logMessages) typedef_is_test: Crash # Instance of 'TypeOperator': type check unimplemented for Func1. typevariable_substitution2_test/01: Crash # Please triage this failure. typevariable_substitution2_test/02: Crash # Please triage this failure. diff --git a/tests/lib/async/deferred/deferred_in_isolate_lib.dart b/tests/lib/async/deferred/deferred_in_isolate_lib.dart deleted file mode 100644 index 64b38dbefc9..00000000000 --- a/tests/lib/async/deferred/deferred_in_isolate_lib.dart +++ /dev/null @@ -1 +0,0 @@ -String f() => "hi"; diff --git a/tests/lib/async/deferred/deferred_in_isolate_test.dart b/tests/lib/async/deferred/deferred_in_isolate_test.dart deleted file mode 100644 index 08cd0dae003..00000000000 --- a/tests/lib/async/deferred/deferred_in_isolate_test.dart +++ /dev/null @@ -1,21 +0,0 @@ -import 'dart:isolate'; -import 'dart:async'; -import 'package:unittest/unittest.dart'; - -import 'deferred_in_isolate_lib.dart' deferred as lib; - -loadDeferred(port) { - lib.loadLibrary().then((_) { - port.send(lib.f()); - }); -} - -main() { - test("Deferred loading in isolate", () { - ReceivePort port = new ReceivePort(); - port.first.then(expectAsync((msg) { - expect(msg, equals("hi")); - })); - Isolate.spawn(loadDeferred, port.sendPort); - }); -} diff --git a/tests/lib/async/deferred/deferred_library.dart b/tests/lib/async/deferred/deferred_library.dart deleted file mode 100644 index 186a11a19bb..00000000000 --- a/tests/lib/async/deferred/deferred_library.dart +++ /dev/null @@ -1,10 +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. - -library deferred_api_library; - -foo(x) { - print('foo($x)'); - return 42; -} diff --git a/tests/lib/async/future_constructor_test.dart b/tests/lib/async/future_constructor_test.dart index 64d946c7ccb..55193d96c36 100644 --- a/tests/lib/async/future_constructor_test.dart +++ b/tests/lib/async/future_constructor_test.dart @@ -6,7 +6,6 @@ library future_test; import "package:expect/expect.dart"; import 'dart:async'; -import 'dart:isolate'; main() { compare(func) { diff --git a/tests/lib/async/stream_controller_async_test.dart b/tests/lib/async/stream_controller_async_test.dart index 8d61ef96050..3fed8a88cf8 100644 --- a/tests/lib/async/stream_controller_async_test.dart +++ b/tests/lib/async/stream_controller_async_test.dart @@ -6,7 +6,6 @@ library stream_controller_async_test; import 'dart:async'; -import 'dart:isolate'; import "package:expect/expect.dart"; import 'package:unittest/unittest.dart'; import 'event_helper.dart'; diff --git a/tests/lib/async/stream_first_where_test.dart b/tests/lib/async/stream_first_where_test.dart index 2137a7add97..6a35d266fce 100644 --- a/tests/lib/async/stream_first_where_test.dart +++ b/tests/lib/async/stream_first_where_test.dart @@ -6,7 +6,6 @@ library stream_controller_async_test; import "package:expect/expect.dart"; import 'dart:async'; -import 'dart:isolate'; import 'package:unittest/unittest.dart'; import 'event_helper.dart'; import 'stream_state_helper.dart'; diff --git a/tests/lib/async/stream_last_where_test.dart b/tests/lib/async/stream_last_where_test.dart index 790ae62b06f..f001502707c 100644 --- a/tests/lib/async/stream_last_where_test.dart +++ b/tests/lib/async/stream_last_where_test.dart @@ -6,7 +6,6 @@ library stream_controller_async_test; import "package:expect/expect.dart"; import 'dart:async'; -import 'dart:isolate'; import 'package:unittest/unittest.dart'; import 'event_helper.dart'; import 'stream_state_helper.dart'; diff --git a/tests/lib/async/stream_single_test.dart b/tests/lib/async/stream_single_test.dart index 8b3174eebcd..172580b6ab9 100644 --- a/tests/lib/async/stream_single_test.dart +++ b/tests/lib/async/stream_single_test.dart @@ -7,7 +7,6 @@ library stream_single_test; import "package:expect/expect.dart"; import 'dart:async'; -import 'dart:isolate'; import 'package:unittest/unittest.dart'; import 'event_helper.dart'; diff --git a/tests/lib/async/stream_single_to_multi_subscriber_test.dart b/tests/lib/async/stream_single_to_multi_subscriber_test.dart index 766f1bd6a73..20638812a5e 100644 --- a/tests/lib/async/stream_single_to_multi_subscriber_test.dart +++ b/tests/lib/async/stream_single_to_multi_subscriber_test.dart @@ -7,7 +7,6 @@ library stream_single_test; import "package:expect/expect.dart"; import 'dart:async'; -import 'dart:isolate'; import 'package:unittest/unittest.dart'; import 'event_helper.dart'; diff --git a/tests/lib/async/timer_cancel_test.dart b/tests/lib/async/timer_cancel_test.dart index 4d17fc41d76..d539cb7036f 100644 --- a/tests/lib/async/timer_cancel_test.dart +++ b/tests/lib/async/timer_cancel_test.dart @@ -5,7 +5,6 @@ library timer_cancel_test; import 'dart:async'; -import 'dart:isolate'; import 'package:unittest/unittest.dart'; main() { diff --git a/tests/lib/lib.status b/tests/lib/lib.status index 78ae1d5facd..32c9bd955c1 100644 --- a/tests/lib/lib.status +++ b/tests/lib/lib.status @@ -138,7 +138,6 @@ async/multiple_timer_test: RuntimeError,OK # Needs Timer to run. async/timer_cancel_test: RuntimeError,OK # Needs Timer to run. async/timer_cancel1_test: RuntimeError,OK # Needs Timer to run. async/timer_cancel2_test: RuntimeError,OK # Needs Timer to run. -async/timer_isolate_test: Fail, OK # Needs Timer to run. async/timer_repeat_test: RuntimeError,OK # Needs Timer to run. async/timer_test: RuntimeError,OK # Needs Timer to run. async/stream_controller_async_test: RuntimeError # Timer interface not supported; Issue 7728. @@ -244,7 +243,6 @@ async/schedule_microtask6_test: Fail # Issue 10910 async/timer_test: Fail, Pass # Issue 15487 async/multiple_timer_test: Fail, Pass # Issue 15487 async/stream_periodic3_test: Fail, Pass # Issue 15487 -async/timer_isolate_test: Fail, Pass # Issue 15487. Issue 13921: spawnFunction is not allowed on Dartium's DOM thread. async/timer_isActive_test: Fail, Pass # Issue 22352 mirrors/immutable_collections_test: SkipSlow # Dartium debug uses -O0, so this will just timeout and waste bot cycles. mirrors/mirrors_reader_test: SkipSlow # Dartium debug uses -O0, so this will just timeout and waste bot cycles. @@ -269,10 +267,6 @@ mirrors/mirrors_reader_test: SkipSlow # Times out. Issue 19127 [ $compiler == dart2js && $runtime == safarimobilesim ] mirrors/mirrors_reader_test: SkipSlow # Times out. Issue 20806. -[ $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 - [ $compiler == dart2js && $runtime == jsshell ] async/schedule_microtask_test: Fail # Preamble file does not correctly implement scheduleImmediate.