This website requires JavaScript.
Explore
Redmine
Gerrit
Lists
Help
Sign In
cellular-infrastructure
/
osmo-iuh
mirror of
https://gerrit.osmocom.org/osmo-iuh
Watch
9
Star
0
Fork
You've already forked osmo-iuh
0
Code
Issues
Releases
Wiki
Activity
c72d654cec
osmo-iuh
/
src
/
tests
/
test_common.h
5 lines
74 B
C
Raw
Normal View
History
Unescape
Escape
factor out some common shared test init code
2015-12-25 14:34:22 +00:00
#
pragma once
int
test_common_init
(
void
)
;
tests: sanitize: fix mem leaks, clean after tests Fix various mem leaks in the testing code. Add test_common_cleanup() in test_common.c, to free talloc contexts; call in test-{helpers,hnbap,ranap}.c. Upon talloc ctx cleanup, ensure that they are actually empty, in order to catch newly introduced mem leaks. If non-empty, print talloc context reports. Change-Id: Ic66c005f2a264774e18bb54e58b87bef5944511c
2017-11-18 17:47:55 +00:00
void
test_common_cleanup
(
void
)
;