diff options
author | Paul Duffin <paulduffin@google.com> | 2021-02-05 16:44:03 +0000 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-02-07 10:58:24 +0000 |
commit | 89886cbdb05cf4a4445a4fc7706ccff91fb310fd (patch) | |
tree | 363a6e19c0484bd16f4044c2a4edda08ec6e114f /scripts/hiddenapi/generate_hiddenapi_lists.py | |
parent | 254aee484342af91056ce0dd5aa7865385e1c037 (diff) |
Ensure subtest failures are reported on subtest
A subtest (code inside the func passed to t.Run(...)) are passed their
own t *Testing pointer to use to report errors in order to ensure that
they are treated as errors of the subtest and not the containing test.
This change ensures that the subtests in the following tests use the
correct t *Testing.
* TestPrebuiltExportDexImplementationJars
* TestBootDexJarsFromSourcesAndPrebuilts
Bug: 178361284
Test: m nothing
Change-Id: I4e8b166051cb6098c89d8e68a450c81a714f7677
Diffstat (limited to 'scripts/hiddenapi/generate_hiddenapi_lists.py')
0 files changed, 0 insertions, 0 deletions