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
Loading
Please register or sign in to comment