-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "[vm] Replaces fuchsia.deprecatedtimezone"
This is a reland of 16f09f2 The apparent break of internal tests was not caused by this change. Original change's description: > [vm] Replaces fuchsia.deprecatedtimezone > > (prior attempt was rolled back as it caused downstream tests to time > out. See prior attempt at: See: > https://dart-review.googlesource.com/c/sdk/+/149206) > > The FIDL library fuchsia.deprecatedtimezone is going away. There are > different and better ways to obtain the same functionality. This change > removes the dependency on fuchsia.deprecatedtimezone from the Dart SDK. > > Adds inspect metrics that allow whitebox testing of the runners. Here's > a sample `fx iquery` excerpt from a running device, showing both a dart > and a flutter runner exposing the same OS diagnostic metrics. > > ``` > /hub/c/dart_jit_runner.cmx/70981/out/diagnostics: > /hub/c/dart_jit_runner.cmx/70981/out/diagnostics#os: > dst_status = 0 > get_profile_status = 0 > timezone_content_status = 0 > tz_data_close_status = 0 > tz_data_status = 0 > /hub/c/flutter_jit_runner.cmx/29567/out/diagnostics: > /hub/c/flutter_jit_runner.cmx/29567/out/diagnostics#os: > dst_status = 0 > get_profile_status = 0 > timezone_content_status = 0 > tz_data_close_status = 0 > tz_data_status = 0 > ``` > > Under nominal operation, all of the above values should be equal to 0. > Nonzero values indicate an error. > > This functionality is guarded by Fuchsia integration tests at > //src/tests/intl. > > Tested: > (compile locally for Fuchsia and deploy) > fx test //src/tests/intl > > See: > - #42245 > - #39650 > > Fixes #39650 > > Change-Id: I97f6e17e57000f6eec71246aee670bca65b7e1d1 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/150662 > Commit-Queue: Filip Filmar <fmil@google.com> > Reviewed-by: Martin Kustermann <kustermann@google.com> Change-Id: I5da6b0f481af0eb42c3b5e74c920588ac2ef5be9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151862 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Filip Filmar <fmil@google.com>
- Loading branch information
Showing
2 changed files
with
103 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters