Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[fuchsia] Migrate unittests to CFv2 #32878

Merged
merged 1 commit into from
May 7, 2022

Conversation

arbreng
Copy link
Contributor

@arbreng arbreng commented Apr 22, 2022

Add the new display_list tests so they can be run on Fuchsia.

Split out the runner_unittest into it's own executable, as it relies on
process-wide ICU state which conflicts with fuchsia_intl_test.cc

The WarmuoSkp test is covered downstream by performance tests, and it
would be difficult to port this to CFv2 as-is without resorting to
hacks.

These changes improve our test workflow by allowing all unittests to
be run using "ffx test"!

Copy link
Contributor

@akbiggs akbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a simpler workflow sgtm!

@akbiggs
Copy link
Contributor

akbiggs commented Apr 28, 2022

Looks like there's one more test that's failing here:

[  FAILED  ] RunnerTest.TZData

 1 FAILED TEST
[FAILED]	main

Failed tests: main
0 out of 1 tests passed...
fuchsia-pkg://fuchsia.com/flutter_runner_tests#meta/flutter_runner_tests.cm completed with result: FAILED
One or more test runs failed.

@chinmaygarde
Copy link
Member

Any progress on the failing test?

@arbreng arbreng changed the title [fuchsia] Migrate last unittest to CFv2 [fuchsia] Migrate unittests to CFv2 May 6, 2022
@arbreng
Copy link
Contributor Author

arbreng commented May 6, 2022

Yep, all fixed!

As a bonus, I added the display_list_unittests and display_list_render_tests to run on fuchsia

Add the new display_list tests so they can be run on Fuchsia.

Split out the runner_unittest into it's own executable, as it relies on
process-wide ICU state which conflicts with fuchsia_intl_test.cc

The WarmuoSkp test is covered downstream by performance tests, and it
would be difficult to port this to CFv2 as-is without resorting to
hacks.

These changes improve our test workflow by allowing all unittests to
be run using "ffx test"!
@arbreng arbreng added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label May 6, 2022
@fluttergithubbot fluttergithubbot merged commit ec0e5b6 into flutter:main May 7, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects: tests platform-fuchsia waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants