mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Skip front buffer test if not supported am: 694e50be3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18625486 Change-Id: I7f9002bf335c8eb5a888cae83f191459bba4a5d1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user