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

Commit 2eac514

Browse files
authored
Run desktop darwin tests in debug mode (#21660)
1 parent 641d4e0 commit 2eac514

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

shell/platform/darwin/macos/BUILD.gn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ executable("flutter_desktop_darwin_unittests") {
109109

110110
cflags_objcc = [ "-fobjc-arc" ]
111111

112+
ldflags = [ "-ObjC" ]
113+
112114
deps = [
113115
":flutter_desktop_darwin_fixtures",
114116
":flutter_framework_source",

testing/run_tests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,11 @@ def RunCCTests(build_dir, filter):
148148
if IsMac():
149149
RunEngineExecutable(build_dir, 'flutter_channels_unittests', filter, shuffle_flags)
150150

151+
# These tests can only be run on Darwin on debug mode.
152+
# See: https://github.com/flutter/flutter/issues/66664
153+
if IsMac() and ('debug' in build_dir):
154+
RunEngineExecutable(build_dir, 'flutter_desktop_darwin_unittests', filter, shuffle_flags)
155+
151156
# https://github.com/flutter/flutter/issues/36296
152157
if IsLinux():
153158
RunEngineExecutable(build_dir, 'txt_unittests', filter, shuffle_flags)

0 commit comments

Comments
 (0)