diff options
author | ramindani <ramindani@google.com> | 2022-03-02 01:48:06 +0000 |
---|---|---|
committer | ramindani <ramindani@google.com> | 2022-03-02 04:14:18 +0000 |
commit | a4e7636e6230283eb9cd385fe3723fb39e33961b (patch) | |
tree | b00a07441e3667d6fe721d494c956a93a170eff1 /graphics | |
parent | 44c952f69c76b35cc4ff9d51e6405d6a2415e29b (diff) |
Vts BlendMode tests skip for UNSUPPORTED ColorMode
BUG: 221887749
Test: atest VtsHalGraphicsComposer3_TargetTest
Change-Id: I6c0a35c64883333c70451c717f50cb84d85ce994
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/composer/aidl/vts/VtsHalGraphicsComposer3_ReadbackTest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_ReadbackTest.cpp b/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_ReadbackTest.cpp index 4fadc17db6..147a9eec82 100644 --- a/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_ReadbackTest.cpp +++ b/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_ReadbackTest.cpp @@ -1051,7 +1051,10 @@ class GraphicsBlendModeCompositionTest SetUpBase(std::get<0>(GetParam())); // TODO(b/219590743) we should remove the below SRGB color mode // once we have the BlendMode test fix for all the versions of the ColorMode - mTestColorModes = {ColorMode::SRGB}; + mTestColorModes.erase( + std::remove_if(mTestColorModes.begin(), mTestColorModes.end(), + [](ColorMode mode) { return mode != ColorMode::SRGB; }), + mTestColorModes.end()); mBackgroundColor = BLACK; mTopLayerColor = RED; } |