From fdb6b49dfa9f1f71b2e564c9f423043f90f9346c Mon Sep 17 00:00:00 2001 From: Jamie Gennis Date: Fri, 31 Aug 2012 14:44:50 -0700 Subject: [PATCH] libgui: disable CpuConsumer tests This change disables the CpuConsumer tests because they require a Gralloc format that is not supported on all devices. Change-Id: Ifaa618062c1dae53d9fcb9e16ba92c480d3dbd0c --- libs/gui/tests/CpuConsumer_test.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/libs/gui/tests/CpuConsumer_test.cpp b/libs/gui/tests/CpuConsumer_test.cpp index 371fb8b3c..72a36bff7 100644 --- a/libs/gui/tests/CpuConsumer_test.cpp +++ b/libs/gui/tests/CpuConsumer_test.cpp @@ -339,7 +339,9 @@ void produceOneFrame(const sp& anw, ASSERT_NO_ERROR(err, "queueBuffer error:"); }; -TEST_P(CpuConsumerTest, FromCpuSingle) { +// This test is disabled because the HAL_PIXEL_FORMAT_RAW_SENSOR format is not +// supported on all devices. +TEST_P(CpuConsumerTest, DISABLED_FromCpuSingle) { status_t err; CpuConsumerTestParams params = GetParam(); @@ -371,7 +373,9 @@ TEST_P(CpuConsumerTest, FromCpuSingle) { mCC->unlockBuffer(b); } -TEST_P(CpuConsumerTest, FromCpuManyInQueue) { +// This test is disabled because the HAL_PIXEL_FORMAT_RAW_SENSOR format is not +// supported on all devices. +TEST_P(CpuConsumerTest, DISABLED_FromCpuManyInQueue) { status_t err; CpuConsumerTestParams params = GetParam(); @@ -412,7 +416,9 @@ TEST_P(CpuConsumerTest, FromCpuManyInQueue) { } } -TEST_P(CpuConsumerTest, FromCpuLockMax) { +// This test is disabled because the HAL_PIXEL_FORMAT_RAW_SENSOR format is not +// supported on all devices. +TEST_P(CpuConsumerTest, DISABLED_FromCpuLockMax) { status_t err; CpuConsumerTestParams params = GetParam();