From a35e55cf9a1d1b700ba418873b4ac9e85f427a95 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Wed, 14 Dec 2022 18:27:17 -0800 Subject: [PATCH] [Impeller] Disable impeller_unittests. (flutter/engine#38307) Fixes https://github.com/flutter/flutter/issues/114872 Followup in https://github.com/flutter/flutter/issues/117122 --- engine/src/flutter/testing/run_tests.py | 40 +++++++++++++------------ 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/engine/src/flutter/testing/run_tests.py b/engine/src/flutter/testing/run_tests.py index 9d4603df02..875b0ef88c 100755 --- a/engine/src/flutter/testing/run_tests.py +++ b/engine/src/flutter/testing/run_tests.py @@ -440,26 +440,28 @@ def run_cc_tests(build_dir, executable_filter, coverage, capture_core_dump): shuffle_flags, coverage=coverage ) + # TODO(117122): Re-enable impeller_unittests after shader compiler errors + # are addressed. # Impeller tests are only supported on macOS for now. - run_engine_executable( - build_dir, - 'impeller_unittests', - executable_filter, - shuffle_flags, - coverage=coverage, - extra_env={ - # pylint: disable=line-too-long - # See https://developer.apple.com/documentation/metal/diagnosing_metal_programming_issues_early?language=objc - 'MTL_SHADER_VALIDATION': - '1', # Enables all shader validation tests. - 'MTL_SHADER_VALIDATION_GLOBAL_MEMORY': - '1', # Validates accesses to device and constant memory. - 'MTL_SHADER_VALIDATION_THREADGROUP_MEMORY': - '1', # Validates accesses to threadgroup memory. - 'MTL_SHADER_VALIDATION_TEXTURE_USAGE': - '1', # Validates that texture references are not nil. - } - ) + # run_engine_executable( + # build_dir, + # 'impeller_unittests', + # executable_filter, + # shuffle_flags, + # coverage=coverage, + # extra_env={ + # # pylint: disable=line-too-long + # # See https://developer.apple.com/documentation/metal/diagnosing_metal_programming_issues_early?language=objc + # 'MTL_SHADER_VALIDATION': + # '1', # Enables all shader validation tests. + # 'MTL_SHADER_VALIDATION_GLOBAL_MEMORY': + # '1', # Validates accesses to device and constant memory. + # 'MTL_SHADER_VALIDATION_THREADGROUP_MEMORY': + # '1', # Validates accesses to threadgroup memory. + # 'MTL_SHADER_VALIDATION_TEXTURE_USAGE': + # '1', # Validates that texture references are not nil. + # } + # ) def parse_impeller_vulkan_filter():