diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-03-18 17:17:43 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-08-27 13:43:31 +0200 |
commit | 2d90611cb06b780b165296aa3abd1f7229d503f9 (patch) | |
tree | 0967edda82deb858d513b8fa268d26597e312810 /tests/testsuite.at | |
parent | 858c86639d09333d297fbbfa7b09fb4ab1209ac9 (diff) |
context: Add support for [per-thread] global talloc contexts
Rather than having applications maintain their own talloc cotexts,
let's offer some root talloc contexts in libosmocore. Let's also
make them per thread right from the beginning. This will help
some multi-threaded applications to use talloc in a thread-safe
way.
Change-Id: Iae39cd57274bf6753ecaf186f229e582b42662e3
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r-- | tests/testsuite.at | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index 0fc96467..a043f0c7 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -350,3 +350,9 @@ cat $abs_srcdir/use_count/use_count_test.ok > expout cat $abs_srcdir/use_count/use_count_test.err > experr AT_CHECK([$abs_top_builddir/tests/use_count/use_count_test], [0], [expout], [experr]) AT_CLEANUP + +AT_SETUP([context]) +AT_KEYWORDS([context]) +cat $abs_srcdir/context/context_test.ok > expout +AT_CHECK([$abs_top_builddir/tests/context/context_test], [0], [expout], [ignore]) +AT_CLEANUP |