# This file is a list of tests to be excluded from a given run of SkQP.

# The format of the list is: <regex_match_to_tests>[,<optional_android_API_level>]
# The optional Android API level allows the test to be run if the the device's first
# API level is greater than or equal to the provided API level. For example ".*FOO.*,33"
# will exclude all tests containing FOO on devices older than Android T.

# Android API Conversion Chart
# -----------|--------------|-----------
# Version    | Release Code | API Level
# -----------|--------------|-----------
# Android 13 |      T       |     33


# Empty lines and comments starting with # are ignored.
# This is parsed by tools/skqp/src/skqp.cpp
# The sheet at go/skqp-cts-tests was the basis of this file.

# Exclude all unit tests that contain ES3 because Android does not require ES3 support.
.*ES3.*

SkRemoteGlyphCache_.+
ApplyGamma
ResourceAllocatorTest
ClipStack_SWMask
ComposedImageFilter.+
DDL.+
DSL.+
GpuDrawPath
GpuRectanizer
ProcessorOptimizationValidationTest

# Don't test Ganesh internals
GrContextDump
GrContextFactory_abandon
GrContextFactory_executorAndTaskGroup
GrThreadSafeCache.+

ImageFilter.+
MorphologyFilterRadiusWithMirrorCTM_Gpu

# Android doesn't use promise images
PromiseImage.*

SkipCopyTaskTest
SkipOpsTaskTest
SmallBoxBlurBug
SrcSrcOverBatchTest

# Tests chaining/batching logic, not actual execution
TextureOpTest

# These tests mostly stress the CPU-side math of triangulating, not the GPU drawing
# triangles, which hopefully we can trust to just work
TriangulatingPath.+

VkDRMModifierTest
VkImageLayoutTest
VkProtectedContext_AsyncReadFromProtectedSurface
VkProtectedContext_CreateNonprotectedContext
VkProtectedContext_CreateNonprotectedTextureInProtectedContext
VkProtectedContext_CreateProtectedContext
VkProtectedContext_CreateProtectedSkSurface
VkProtectedContext_CreateProtectedTextureInNonprotectedContext
VkProtectedContext_DDLMakeRenderTargetTest
VkProtectedContext_DDLSurfaceCharacterizationTest
VkProtectedContext_DrawProtectedImageOnProtectedSurface
VkProtectedContext_DrawRectangle
VkProtectedContext_DrawRectangleWithAntiAlias
VkProtectedContext_DrawRectangleWithBlendMode
VkProtectedContext_DrawRectangleWithFilter
VkProtectedContext_DrawThinPath
VkProtectedContext_ReadFromProtectedSurface
VkProtectedContext_SaveLayer
VkWrapTests

XfermodeImageFilterCroppedInput_Gpu
skbug5221_GPU

# Tests which don't pass on some Qualcomm devices without workarounds b/222736702
DMSAA_dual_source_blend_disable, 33
GLBackendAllocationTest, 33
GrSurfaceRenderability, 33

# Test that fail on some existing in-market devices b/229804433
ES2BlendWithNoTexture, 33
SkRuntimeEffect_Blender_GPU, 33
SkSLStructsInFunctions_GPU, 33

# Tests known to fail in Skia's infra on existing Android devices
# see skia.googlesource.com/skia/+/refs/heads/chrome/m100/infra/bots/gen_tasks_logic/dm_flags.go
ProcessorCloneTest, 33
Programs, 33
SkSLCommaSideEffects_GPU, 33
SkSLInoutParameters_GPU, 33
SkSLIntrinsicClampFloat_GPU, 33
SkSLIntrinsicMixFloat_GPU, 33
SkSLMatrixToVectorCast_GPU, 33
SkSLOutParams_GPU, 33
SkSLOutParamsAreDistinctFromGlobal_GPU, 33
SkSLOutParamsTricky_GPU, 33
SkSLUnaryPositiveNegative_GPU, 33
