Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 694e50be authored by Ankit Goyal's avatar Ankit Goyal
Browse files

Skip front buffer test if not supported

Bug: 218383959
Test: this
Change-Id: I61beba63556c1d6a32e220fffd8e4b4fdfd8bd94
parent 72415bcf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -277,6 +277,7 @@ TEST_P(GraphicsFrontBufferTests, FrontBufferGpuToCpu) {
    if (!supported) {
        ASSERT_EQ(nullptr, buffer.get())
                << "Allocation succeeded, but IMapper::isSupported was false";
        GTEST_SKIP();
    } else {
        ASSERT_NE(nullptr, buffer.get()) << "Allocation failed, but IMapper::isSupported was true";
    }
@@ -318,6 +319,7 @@ TEST_P(GraphicsFrontBufferTests, FrontBufferGpuToGpu) {
    if (!supported) {
        ASSERT_EQ(nullptr, buffer.get())
                << "Allocation succeeded, but IMapper::isSupported was false";
        GTEST_SKIP();
    } else {
        ASSERT_NE(nullptr, buffer.get()) << "Allocation failed, but IMapper::isSupported was true";
    }