Run desktop darwin tests in debug mode (flutter/engine#21660)

This commit is contained in:
Kaushik Iska
2020-10-07 16:32:01 -07:00
committed by GitHub
parent 742b168680
commit 6db42cf2a9
2 changed files with 7 additions and 0 deletions

View File

@@ -109,6 +109,8 @@ executable("flutter_desktop_darwin_unittests") {
cflags_objcc = [ "-fobjc-arc" ]
ldflags = [ "-ObjC" ]
deps = [
":flutter_desktop_darwin_fixtures",
":flutter_framework_source",

View File

@@ -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)