summaryrefslogtreecommitdiff
path: root/TEST_MAPPING
AgeCommit message (Collapse)Author
2021-03-10Add debuggerd_test to bionic test mapping.Mitch Phillips
Lots of plumbing between bionic and debuggerd, make sure it works. Bug: N/A Change-Id: Ida4f3114f76ca88f3768fffa9fdc7deee74afda8 Test: N/A
2020-11-30[Tagged Pointers] Allow probing the current TP level w/ locking.Mitch Phillips
aosp/1484976 introduced a breaking change where DisableMemoryMitigations() now indiscriminately turns tagged pointers off. When android_mallopt(M_DISABLE_MEMORY_MITIGATIONS) is called, the correct behaviour is: - In SYNC/ASYNC MTE mode -> disable all tagged pointers. - If all tagged pointers are already disabled -> nop. - If we're in TBI mode -> nop (keep the TBI mode as-is). In order to do that we have to allow probing of the current heap tagging mode. In order to prevent TOCTOU between GetHeapTaggingLevel() and SetHeapTaggingLevel(), we expose a global mutex that should be held when calling these functions. Bug: 174263432 Test: atest CtsTaggingHostTestCases on Flame Change-Id: Ia96f7269d542c9041270458806aee36766d2fbbb
2020-03-26[GWP-ASan] Add gwp_asan_unittest to bionic presubmit.Mitch Phillips
bionic libc has a dependency on GWP-ASan. Changes in bionic can also affect GWP-ASan (e.g. GWP-ASan requires some headers from bionic for tests). Resultingly, we shouldn't accidentally break GWP-ASan through changes to bionic by adding this as a presubmit check. Bug: 152414185 Test: cd bionic && atest Change-Id: I15dac9da6a7b8dbba453cfabec995d79a0f71924
2020-02-03fdtrack: add a test.Josh Gao
Test: logcat -c; fdtrack_test; logcat -d | grep fdtrack Change-Id: Ie1101c9cf968299ec1f03f20097a2ed27f6e15bd
2019-12-19Run memunreachable_unit_test on bionic changes.Christopher Ferris
Bug: 137795072 Test: Ran atest. Change-Id: I2153b3fd97f77bb06e9d66b5f5419cab0cbabcab
2019-11-15Add automatic running of tests on bionic changes.Christopher Ferris
malloc debug and malloc hooks have been broken for a long time and no one noticed. So add them to be run by default on bionic changes since that provides the most coverage. Change the malloc debug and malloc hooks tests to support isolated runs. Changed the name of the malloc hooks unit tests to system tests because they weren't really unit tests. Changed the verify leak malloc debug tests to print out extra information so it is possible to figure out what sized allocation failed. Test: Ran tests. Change-Id: Idea4c864f1d62598148ee78d7c9397e45234b1ca
2019-02-16Add TEST_MAPPING.Elliott Hughes
Test: treehugger Change-Id: I28eced257260028553bb0dc02a9d99bcbf266378