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

Commit 234a0522 authored by Alec Mouri's avatar Alec Mouri
Browse files

Check if bootmode tests were skipped before teardown

If we decided to skip the bootmode tests, it means the device didn't have enough capabilities (non-support, or a single display mode) for them to be meaningful. It also means:

* We never poked at the apis, so we don't need to clean up our own usage, and
* If boot modes aren't supported, then cleaning ourselves up will report errors from these apis, which would cause the tests to fail.

So, just skip teardown if the test was also skipped.

Bug: 389190752
Flag: EXEMPT test only
Test: this
Change-Id: Ida7635f1da540251196e9af2d060962cfeed72fc
parent e8e1468e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment