diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2021-02-07 23:53:07 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2021-02-07 23:59:59 +0100 |
commit | dbb3c723a40bdd789a171defcf075162b2e01d62 (patch) | |
tree | 91ba016af88d53f4d5eb2a8406b8fdccfaba2bf2 /COPYING | |
parent | 33144f146a06acec4fa54e65a59964a4fb34d4ca (diff) |
msc_vlr_tests: make independent of libosmocore talloc
The msc_vlr_tests verify whether any of the tests run contain msgb or
talloc memory leaks. So far they did so by fixating a specific number of
talloc blocks, which may break by library implementations changing.
Instead, verify that the test leaks no allocations by comparing talloc
blocks before and after each test.
When a leak is detected, print the full talloc report to stderr, which
makes the expected output mismatch the actual output and fails the test.
Related: OS#4311
Change-Id: I8537fa76d460c951302932a1bad4299f7fe398c9
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions