Run desktop darwin tests in debug mode (flutter/engine#21660)
This commit is contained in:
@@ -109,6 +109,8 @@ executable("flutter_desktop_darwin_unittests") {
|
||||
|
||||
cflags_objcc = [ "-fobjc-arc" ]
|
||||
|
||||
ldflags = [ "-ObjC" ]
|
||||
|
||||
deps = [
|
||||
":flutter_desktop_darwin_fixtures",
|
||||
":flutter_framework_source",
|
||||
|
||||
@@ -148,6 +148,11 @@ def RunCCTests(build_dir, filter):
|
||||
if IsMac():
|
||||
RunEngineExecutable(build_dir, 'flutter_channels_unittests', filter, shuffle_flags)
|
||||
|
||||
# These tests can only be run on Darwin on debug mode.
|
||||
# See: https://github.com/flutter/flutter/issues/66664
|
||||
if IsMac() and ('debug' in build_dir):
|
||||
RunEngineExecutable(build_dir, 'flutter_desktop_darwin_unittests', filter, shuffle_flags)
|
||||
|
||||
# https://github.com/flutter/flutter/issues/36296
|
||||
if IsLinux():
|
||||
RunEngineExecutable(build_dir, 'txt_unittests', filter, shuffle_flags)
|
||||
|
||||
Reference in New Issue
Block a user