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

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Apr 1, 2020

Disables a test on Mac that now fails with the new toolchain due to minor pixel differences. Test is still enabled on Linux.

Rolls buildroot to flutter/buildroot@1bc40a5 to capture additional warning ignore guards for Xcode builds (e.g. bitcode enablded builds for iOS).

See also: #17451, #17440

}

TEST_F(EmbedderTest, VerifyB143464703WithSoftwareBackend) {
#if !defined(OS_LINUX)
Copy link
Contributor

Choose a reason for hiding this comment

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

We ensure all tests here run on all platforms. I'd rather have this test disabled (and file a bug with a linked TODO) than skip it this way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Golden tests are difficult to get right for all platforms. We could just skip it outright and re-enable it if we can get Skia gold for engine unit tests, but we'd then lose coverage even on Linux...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(The actual differences are minor pixel differences in the gradients)

Copy link
Contributor

@chinmaygarde chinmaygarde Apr 1, 2020

Choose a reason for hiding this comment

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

Golden tests are difficult to get right for all platforms.

Sigh. Very true. And, looking at this test, I am not sure why the assertions in the next presentation callback are not sufficient. The pixel test here seems to be redundant.

It's your call on if you want to skip or disable. But please file a bug with a linked TODO either way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added a TODO and filed flutter/flutter#53784

}

TEST_F(EmbedderTest, VerifyB143464703WithSoftwareBackend) {
#if !defined(OS_LINUX)
Copy link
Contributor

@chinmaygarde chinmaygarde Apr 1, 2020

Choose a reason for hiding this comment

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

Golden tests are difficult to get right for all platforms.

Sigh. Very true. And, looking at this test, I am not sure why the assertions in the next presentation callback are not sufficient. The pixel test here seems to be redundant.

It's your call on if you want to skip or disable. But please file a bug with a linked TODO either way.

@dnfield
Copy link
Contributor Author

dnfield commented Apr 1, 2020

LUCI failures are a known infra issue right now

@dnfield
Copy link
Contributor Author

dnfield commented Apr 1, 2020

I'll push the formatting fix once the linux engine builders are fixed.

@dnfield
Copy link
Contributor Author

dnfield commented Apr 1, 2020

Going to land this to kick the tree again. None of the changes impact presubmits compared to the last round of presubmits that passed.

@dnfield dnfield merged commit a4026cc into flutter:master Apr 1, 2020
@dnfield dnfield deleted the clang branch April 1, 2020 23:32
dnfield added a commit that referenced this pull request Apr 2, 2020
dnfield added a commit that referenced this pull request Apr 2, 2020
dnfield added a commit to dnfield/engine that referenced this pull request Apr 2, 2020
dnfield added a commit that referenced this pull request Apr 2, 2020
* Reland Clang 11, Roll buildroot to 1bc40a5 (#17457)" (#17464)

This reverts commit 9eacd02.

* Skip more image tests, use newer dsymutil, add missing symbols
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 2, 2020
goderbauer pushed a commit to goderbauer/engine that referenced this pull request Apr 16, 2020
* Reland "Roll Clang to v11, roll buildroot to fe13f79, allow newly exported symbols (flutter#17440)" (flutter#17451)"

This reverts commit a870bc5.

* skip golden that is different on macos

* buildroot to 1bc40a5
goderbauer pushed a commit to goderbauer/engine that referenced this pull request Apr 16, 2020
goderbauer pushed a commit to goderbauer/engine that referenced this pull request Apr 16, 2020
* Reland Clang 11, Roll buildroot to 1bc40a5 (flutter#17457)" (flutter#17464)

This reverts commit 9eacd02.

* Skip more image tests, use newer dsymutil, add missing symbols
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants