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

Skip to content
Commit d6632909 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Handle failures from Before/AfterClass in the runner

- Failures from @BeforeClass / @AfterClass are not properly handled
by tradefed (at least by IsolatedHostTest).

- So let's detect them and propagate failures as if each tests reported
the failure, which is a workaround that tradefed uses in a different
host test runner.

- Also, change the lambdas RavenwoodAwareTestRunner to inner classes,
so that the stacktrace would be less cryptic.

Flag: EXEMPT host test change only
Bug: 364395552
Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh

Change-Id: I55299d19cd07af2fcfe71ff93b31a5b401e799e4
parent 2a5d314e
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