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

[Impeller] Adds playgrounds test to CI. #45857

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion testing/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ def make_test(name, flags=None, extra_env=None):
'METAL_DEBUG_ERROR_MODE': '0', # Enables metal validation.
'METAL_DEVICE_WRAPPER_TYPE': '1', # Enables metal validation.
})
# Impeller tests are only supported on macOS for now.
run_engine_executable(
build_dir,
'impeller_unittests',
Expand All @@ -523,6 +522,24 @@ def make_test(name, flags=None, extra_env=None):
'[MTLCompiler pipelineStateWithVariant:',
]
)
# Run one playgrounds test to try to avoid breaking them.
run_engine_executable(
build_dir,
'impeller_unittests',
executable_filter,
shuffle_flags + [
'--enable_vulkan_validation', '--gtest_filter=*ColorWheel/Vulkan',
'--enable-playground', '--playground_timeout_ms=4000'
],
coverage=coverage,
extra_env=extra_env,
# TODO(117122): Remove this allowlist.
# https://github.com/flutter/flutter/issues/114872
allowed_failure_output=[
'[MTLCompiler createVertexStageAndLinkPipelineWithFragment:',
'[MTLCompiler pipelineStateWithVariant:',
]
)


def run_engine_benchmarks(build_dir, executable_filter):
Expand Down