-
Notifications
You must be signed in to change notification settings - Fork 6k
Ignore some MTLCompiler failures in impeller unit tests #40391
Conversation
9bc32f7
to
b849a5c
Compare
b849a5c
to
5d17962
Compare
One of the presubmit checks caught an instance of this and the new code in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple nits about variable naming to make working with dynamic typing a bit easier and a note about logging allowed failures. Otherwise, lgtm.
'Command "%s" exited with code %d.' % | ||
(command_string, process.returncode) | ||
) | ||
allowed_failure = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allowed_failure = False | |
is_allowed_failure = False |
allowed_string in stderr): | ||
allowed_failure = True | ||
|
||
if not allowed_failure: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably log allowed failures, right?
forbidden_output=None, | ||
expect_failure=False, | ||
env=None, | ||
allowed_failure_output=None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allowed_failure_output=None, | |
failure_allow_list=None, |
|
||
command_string = ' '.join(cmd) | ||
|
||
print_divider('>') | ||
print('Running command "%s"' % command_string) | ||
|
||
start_time = time.time() | ||
stdout_pipe = sys.stdout if not forbidden_output else subprocess.PIPE | ||
stderr_pipe = sys.stderr if not forbidden_output else subprocess.PIPE | ||
collect_output = forbidden_output or allowed_failure_output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
collect_output = forbidden_output or allowed_failure_output | |
should_collect_output = forbidden_output or allowed_failure_output |
Doh. |
…122942) * e6334f166 [web] Remove image codecs from Canvaskit Chromium (flutter/engine#40309) * 56727d62c Revert "[Impeller] mark decoded images as optimized for GPU access (#40356)" (flutter/engine#40387) * 2cd19e3d1 Wrap the iOS platform message handler in an autorelease pool block (flutter/engine#40373) * bab7853ad Update analyzer for api_conform_test (flutter/engine#40386) * 87b2e82d1 Roll Fuchsia Mac SDK from z32cF6YFs6CvZbY3g... to 4ZrEK2uzGdp_Gz3DU... (flutter/engine#40385) * fc57995fe Ignore some MTLCompiler failures in impeller unit tests (flutter/engine#40391) * 2398c5222 Add doc comment to Pipeline (flutter/engine#40388) * f585d4bc5 [macOS] Remove a single accessibility root assumption (flutter/engine#40316) * 940cf3c98 remove temporary flag and make FlutterTest the default font for real (flutter/engine#40352) * a1bf9fd2a drawTextBlob should not be compatible with opacity inheritance (flutter/engine#40396) * 55bf0d85e Use bundled analyzer everywhere (flutter/engine#40398) * 8e580414a Roll Skia from 9bfb45d3e065 to 49b902e5fb91 (11 revisions) (flutter/engine#40397) * 77c53d25e Default the CanvasKit base URL to local artifacts. (flutter/engine#40293) * 625ea5395 Roll Skia from 49b902e5fb91 to aa983f5486f0 (7 revisions) (flutter/engine#40404) * 867679fac [Impeller] Add playground flag to render for a specific amount of time. (flutter/engine#40377) * d74169608 [Impeller] Remove unused bounds method from typographer interface (flutter/engine#40406) * 941323d77 Provisional iOS impeller flag flip (flutter/engine#40405) * bb971ab55 Revert "Default the CanvasKit base URL to local artifacts. (#40293)" (flutter/engine#40415)
This also re-enables the tests.
Related flutter/flutter#117122