From 6018856ece770d8950e253936b2db6f243aa2799 Mon Sep 17 00:00:00 2001 From: "zijiehe@" <68449066+zijiehe-google-com@users.noreply.github.com> Date: Fri, 21 Feb 2025 09:02:24 -0800 Subject: [PATCH] [fuchsia] reorder tests in test_suites.yaml and update the comment (#163799) This is a no-op change to avoid bloating https://github.com/flutter/flutter/tree/zijiehe-google-com/more-tests. The change reorders the test_suites.yaml alphabetically and removes the unused run_with_dart_aot field. The change should test itself, no extra tests are needed. http://b/394632376 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement]. - [x] I signed the [CLA]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I updated/added relevant documentation (doc comments with `///`). - [x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. [Contributor Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview [Tree Hygiene]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md [test-exempt]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md [Features we expect every widget to implement]: https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md [Data Driven Fixes]: https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md --- .../flutter/testing/fuchsia/test_suites.yaml | 119 +++++++++--------- 1 file changed, 61 insertions(+), 58 deletions(-) diff --git a/engine/src/flutter/testing/fuchsia/test_suites.yaml b/engine/src/flutter/testing/fuchsia/test_suites.yaml index 22164d0f5a..7710fb45fd 100644 --- a/engine/src/flutter/testing/fuchsia/test_suites.yaml +++ b/engine/src/flutter/testing/fuchsia/test_suites.yaml @@ -1,43 +1,19 @@ # This configuration file specifies several test suites with their package and -# test command for femu_test.py. +# test command for engine/src/flutter/testing/fuchsia/run_tests.py +# The list is inherited from the engine/src/flutter/testing/run_tests.py, and +# need consistent maintenance. -- test_command: test run fuchsia-pkg://fuchsia.com/dart_runner_tests#meta/dart_runner_tests.cm - package: dart_runner_tests-0.far -- test_command: test run fuchsia-pkg://fuchsia.com/flutter_runner_tests#meta/flutter_runner_tests.cm - package: flutter_runner_tests-0.far -- test_command: test run fuchsia-pkg://fuchsia.com/flutter_runner_tzdata_tests#meta/flutter_runner_tzdata_tests.cm - package: flutter_runner_tzdata_tests-0.far -- test_command: test run fuchsia-pkg://fuchsia.com/flutter_runner_tzdata_missing_tests#meta/flutter_runner_tzdata_missing_tests.cm - package: flutter_runner_tzdata_missing_tests-0.far -- test_command: test run fuchsia-pkg://fuchsia.com/fml_tests#meta/fml_tests.cm - package: fml_tests-0.far -- test_command: test run fuchsia-pkg://fuchsia.com/display_list_tests#meta/display_list_tests.cm - package: display_list_tests-0.far -- test_command: test run fuchsia-pkg://fuchsia.com/display_list_render_tests#meta/display_list_render_tests.cm - package: display_list_render_tests-0.far - disabled: on arm64 because of the slowness - variant: x64 -- test_command: test run fuchsia-pkg://fuchsia.com/flow_tests#meta/flow_tests.cm - package: flow_tests-0.far -- test_command: test run fuchsia-pkg://fuchsia.com/runtime_tests#meta/runtime_tests.cm - package: runtime_tests-0.far - disabled: on debug_arm64 because of the slowness - variant: debug_x64 -- test_command: test run fuchsia-pkg://fuchsia.com/shell_tests#meta/shell_tests.cm - package: shell_tests-0.far - variant: debug_x64 -- test_command: test run fuchsia-pkg://fuchsia.com/txt_tests#meta/txt_tests.cm -- --gtest_filter=-ParagraphTest.* - package: txt_tests-0.far - variant: debug -- test_command: test run fuchsia-pkg://fuchsia.com/ui_tests#meta/ui_tests.cm - package: ui_tests-0.far - disabled: on debug_arm64 because of the slowness - variant: debug_x64 -- test_command: test run fuchsia-pkg://fuchsia.com/embedder_tests#meta/embedder_tests.cm - package: embedder_tests-0.far - variant: debug_x64 -- test_command: test run fuchsia-pkg://fuchsia.com/dart_utils_tests#meta/dart_utils_tests.cm - package: dart_utils_tests-0.far +# Please keep the list alphabetical order. + +- test_command: test run fuchsia-pkg://fuchsia.com/dart-aot-runner-integration-test#meta/dart-aot-runner-integration-test.cm + packages: + - oot_dart_aot_runner-0.far + - dart-aot-runner-integration-test-0.far + - gen/flutter/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_echo_server/dart_aot_echo_server/dart_aot_echo_server.far + emulator_arch: + - 'x64' + - 'arm64' + variant: profile - test_command: test run fuchsia-pkg://fuchsia.com/dart-jit-runner-integration-test#meta/dart-jit-runner-integration-test.cm packages: - oot_dart_jit_runner-0.far @@ -47,16 +23,21 @@ - 'x64' - 'arm64' variant: debug -- test_command: test run fuchsia-pkg://fuchsia.com/dart-aot-runner-integration-test#meta/dart-aot-runner-integration-test.cm - run_with_dart_aot: 'true' - packages: - - oot_dart_aot_runner-0.far - - dart-aot-runner-integration-test-0.far - - gen/flutter/shell/platform/fuchsia/dart_runner/tests/startup_integration_test/dart_echo_server/dart_aot_echo_server/dart_aot_echo_server.far - emulator_arch: - - 'x64' - - 'arm64' - variant: profile +- test_command: test run fuchsia-pkg://fuchsia.com/dart_runner_tests#meta/dart_runner_tests.cm + package: dart_runner_tests-0.far +- test_command: test run fuchsia-pkg://fuchsia.com/dart_utils_tests#meta/dart_utils_tests.cm + package: dart_utils_tests-0.far +- test_command: test run fuchsia-pkg://fuchsia.com/display_list_render_tests#meta/display_list_render_tests.cm + package: display_list_render_tests-0.far + disabled: on arm64 because of the slowness + variant: x64 +- test_command: test run fuchsia-pkg://fuchsia.com/display_list_tests#meta/display_list_tests.cm + package: display_list_tests-0.far +- test_command: test run fuchsia-pkg://fuchsia.com/embedder_tests#meta/embedder_tests.cm + package: embedder_tests-0.far + variant: debug_x64 +- test_command: test run fuchsia-pkg://fuchsia.com/flow_tests#meta/flow_tests.cm + package: flow_tests-0.far - test_command: test run fuchsia-pkg://fuchsia.com/flutter-embedder-test#meta/flutter-embedder-test.cm packages: - flutter-embedder-test-0.far @@ -64,6 +45,32 @@ - gen/flutter/shell/platform/fuchsia/flutter/tests/integration/embedder/child-view/child-view/child-view.far - gen/flutter/shell/platform/fuchsia/flutter/tests/integration/embedder/parent-view/parent-view/parent-view.far variant: debug_x64 +- test_command: test run fuchsia-pkg://fuchsia.com/flutter_runner_tests#meta/flutter_runner_tests.cm + package: flutter_runner_tests-0.far +- test_command: test run fuchsia-pkg://fuchsia.com/flutter_runner_tzdata_missing_tests#meta/flutter_runner_tzdata_missing_tests.cm + package: flutter_runner_tzdata_missing_tests-0.far +- test_command: test run fuchsia-pkg://fuchsia.com/flutter_runner_tzdata_tests#meta/flutter_runner_tzdata_tests.cm + package: flutter_runner_tzdata_tests-0.far +- test_command: test run fuchsia-pkg://fuchsia.com/fml_tests#meta/fml_tests.cm + package: fml_tests-0.far +- test_command: test run fuchsia-pkg://fuchsia.com/mouse-input-test#meta/mouse-input-test.cm + packages: + - mouse-input-test-0.far + - oot_flutter_jit_runner-0.far + - gen/flutter/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-view/mouse-input-view/mouse-input-view.far +- test_command: test run fuchsia-pkg://fuchsia.com/runtime_tests#meta/runtime_tests.cm + package: runtime_tests-0.far + disabled: on debug_arm64 because of the slowness + variant: debug_x64 +- test_command: test run fuchsia-pkg://fuchsia.com/shell_tests#meta/shell_tests.cm + package: shell_tests-0.far + variant: debug_x64 +- test_command: test run fuchsia-pkg://fuchsia.com/text-input-test#meta/text-input-test.cm + packages: + - text-input-test-0.far + - oot_flutter_jit_runner-0.far + - gen/flutter/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-view/text-input-view/text-input-view.far + variant: debug_x64 - test_command: test run fuchsia-pkg://fuchsia.com/touch-input-test#meta/touch-input-test.cm packages: - touch-input-test-0.far @@ -71,14 +78,10 @@ - gen/flutter/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-view/touch-input-view/touch-input-view.far - gen/flutter/shell/platform/fuchsia/flutter/tests/integration/touch-input/embedding-flutter-view/embedding-flutter-view/embedding-flutter-view.far variant: debug_x64 -- test_command: test run fuchsia-pkg://fuchsia.com/mouse-input-test#meta/mouse-input-test.cm - packages: - - mouse-input-test-0.far - - oot_flutter_jit_runner-0.far - - gen/flutter/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-view/mouse-input-view/mouse-input-view.far -- test_command: test run fuchsia-pkg://fuchsia.com/text-input-test#meta/text-input-test.cm - packages: - - text-input-test-0.far - - oot_flutter_jit_runner-0.far - - gen/flutter/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-view/text-input-view/text-input-view.far +- test_command: test run fuchsia-pkg://fuchsia.com/txt_tests#meta/txt_tests.cm -- --gtest_filter=-ParagraphTest.* + package: txt_tests-0.far + variant: debug +- test_command: test run fuchsia-pkg://fuchsia.com/ui_tests#meta/ui_tests.cm + package: ui_tests-0.far + disabled: on debug_arm64 because of the slowness variant: debug_x64