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

Commit fdb6b49d authored by Jamie Gennis's avatar Jamie Gennis
Browse files

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
parent 9ca48916
Loading
Loading
Loading
Loading
+9 −3
Original line number Original line Diff line number Diff line
@@ -339,7 +339,9 @@ void produceOneFrame(const sp<ANativeWindow>& anw,
    ASSERT_NO_ERROR(err, "queueBuffer error:");
    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;
    status_t err;
    CpuConsumerTestParams params = GetParam();
    CpuConsumerTestParams params = GetParam();


@@ -371,7 +373,9 @@ TEST_P(CpuConsumerTest, FromCpuSingle) {
    mCC->unlockBuffer(b);
    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;
    status_t err;
    CpuConsumerTestParams params = GetParam();
    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;
    status_t err;
    CpuConsumerTestParams params = GetParam();
    CpuConsumerTestParams params = GetParam();