diff options
author | Christopher Ferris <cferris@google.com> | 2017-09-06 14:15:28 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2017-09-06 17:08:44 -0700 |
commit | edccd84763c96fedb88b66f413de534fd302d882 (patch) | |
tree | 1ab630e5a8a041710198bd3b0c4a030e33f61348 /base/include/android-base/test_utils.h | |
parent | 18149b6764437eeb88d0ab78e565ec9cb2384779 (diff) |
Fix UnwindTest repeatability.
- Rewrite some of the UnwindTest tests to properly wait for the process
to be ready.
- Add a TestScopedPidReaper to make sure that fork process get killed even
if the test fails. Add this to all tests that fail.
- Create a quiesce function to be used by all of the tests that will
wait after attaching to a process.
Bug: 65287279
Test: Ran unit tests on hikey960 board and on host repeatedly.
Change-Id: I57084120396f34d8dfb852f3d814bef2056f1b54
Diffstat (limited to 'base/include/android-base/test_utils.h')
0 files changed, 0 insertions, 0 deletions