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

[macOS] Build unittests on all macOS host builds #41215

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

cbracken
Copy link
Member

@cbracken cbracken commented Apr 14, 2023

Whether we're building an x64 or arm64 macOS host build, always build unit tests.

Issue: flutter/flutter#124840

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@cbracken cbracken force-pushed the mac-unittests-is_mac branch from 7fb4d1b to a5076dc Compare April 14, 2023 19:09
@cbracken cbracken requested review from zanderso and dnfield April 14, 2023 19:16
@cbracken
Copy link
Member Author

I did consider host_os == target_os && host_cpu == target_cpu but the target_cpu is based on toolchain, so we end up with the same behaviour as today.

Whether we're building an x64 or arm64 macOS host build, always build
unit tests.

Also removes the --enable-unittests gn config option since it was added
specifically for macOS in flutter#40242.

Issue: flutter/flutter#124840
@cbracken cbracken force-pushed the mac-unittests-is_mac branch from a5076dc to 72cb398 Compare April 14, 2023 19:22
@cbracken cbracken added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 14, 2023
@cbracken cbracken merged commit e9739bc into flutter:main Apr 14, 2023
@cbracken cbracken deleted the mac-unittests-is_mac branch April 14, 2023 20:47
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 14, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Apr 14, 2023
…124896)

flutter/engine@413e95d...e9739bc

2023-04-14 [email protected] [macOS] Build unittests on all macOS host builds (flutter/engine#41215)
2023-04-14 [email protected] [web] Don't run goldctl init more than once (flutter/engine#41207)
2023-04-14 [email protected] Roll Skia from 2bd12e31d578 to 22e417bea884 (4 revisions) (flutter/engine#41213)
2023-04-14 [email protected] Revert "[Android] Send connectionClosed message when keyboard becomes invisible to ensure framework focus state is correct." (flutter/engine#41211)
2023-04-14 [email protected] Remove `Mac mac_android_aot_engine` in favor of Linux (flutter/engine#41210)
2023-04-14 [email protected] Run clang tidy builds on arm Macs (flutter/engine#41183)
2023-04-14 [email protected] Roll Fuchsia Linux SDK from diD1gLr_dKWFJlsSn... to Z0of2S9pf3Zn1nsJP... (flutter/engine#41209)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from diD1gLr_dKWF to Z0of2S9pf3Zn

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
exaby73 pushed a commit to exaby73/flutter_nevercode that referenced this pull request Apr 17, 2023
…lutter#124896)

flutter/engine@413e95d...e9739bc

2023-04-14 [email protected] [macOS] Build unittests on all macOS host builds (flutter/engine#41215)
2023-04-14 [email protected] [web] Don't run goldctl init more than once (flutter/engine#41207)
2023-04-14 [email protected] Roll Skia from 2bd12e31d578 to 22e417bea884 (4 revisions) (flutter/engine#41213)
2023-04-14 [email protected] Revert "[Android] Send connectionClosed message when keyboard becomes invisible to ensure framework focus state is correct." (flutter/engine#41211)
2023-04-14 [email protected] Remove `Mac mac_android_aot_engine` in favor of Linux (flutter/engine#41210)
2023-04-14 [email protected] Run clang tidy builds on arm Macs (flutter/engine#41183)
2023-04-14 [email protected] Roll Fuchsia Linux SDK from diD1gLr_dKWFJlsSn... to Z0of2S9pf3Zn1nsJP... (flutter/engine#41209)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from diD1gLr_dKWF to Z0of2S9pf3Zn

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants