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

Commit c10137e5 authored by Peiyong Lin's avatar Peiyong Lin Committed by Automerger Merge Worker
Browse files

Merge "Avoid skipping test if it's supported." into udc-dev am: 6f14da4e am: f630be3b

parents 94734588 f630be3b
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -255,11 +255,10 @@ TEST_P(PowerAidl, setThreads) {
    }
    ASSERT_TRUE(status.isOk());

    if (mApiLevel < kCompatibilityMatrix8ApiLevel) {
    status = session->setThreads(kEmptyTids);
    if (mApiLevel < kCompatibilityMatrix8ApiLevel && isUnknownOrUnsupported(status)) {
        GTEST_SKIP() << "DEVICE not launching with Android 14 and beyond.";
    }

    status = session->setThreads(kEmptyTids);
    ASSERT_FALSE(status.isOk());
    ASSERT_EQ(EX_ILLEGAL_ARGUMENT, status.getExceptionCode());