osmo-pcu/tests
Max 2ecf0fdfc2 AllocTest: adjust test_alloc_b()
This function contains 3 independent test cases. Let's split them into
separate functions to simplify further modifications:

* split test cases into separate functions
* use them for mass test as well
* change function names to avoid confusion
* make individual test cases return error instead of failing via assert
  on allocation failure

The top-level test_alloc_b() is used as part of exhaustion tests in
test_all_alloc_b() for example, so it's expected that allocation might
fail (due to TFI or USF exhaustion for example) eventually. In this case
it's better to indicate it to caller instead of failing entire program.

The test output does not require any adjustements because we do not
exhaust to the point of allocation failure yet.

Change-Id: Id7e03a85ce96e7d617cecee963759bae589a3a1a
Related: OS#2282
2018-01-25 16:12:57 +00:00
..
alloc AllocTest: adjust test_alloc_b() 2018-01-25 16:12:57 +00:00
bitcomp tests: Don't use private version of log_info but global gprs_log_info 2017-10-29 11:02:34 +01:00
codel llc: Add CoDel AQM implementation 2015-07-21 19:22:32 +02:00
edge tests: Don't use private version of log_info but global gprs_log_info 2017-10-29 11:02:34 +01:00
emu tests: remove unused definition 2017-06-22 13:28:39 +02:00
fn BTS: Convert relative frame numbers to absolute frame numbers 2017-03-05 12:23:56 +00:00
llc tests: Don't use private version of log_info but global gprs_log_info 2017-10-29 11:02:34 +01:00
llist llist: Add missing const qualifier in llist cast method 2015-08-24 12:23:50 +02:00
ms tests: Don't use private version of log_info but global gprs_log_info 2017-10-29 11:02:34 +01:00
rlcmac remove pcu own bitvector implementation 2017-05-15 12:46:33 +00:00
tbf TBF: adjust test log levels 2018-01-24 11:07:01 +01:00
types Allocate global context for TypesTest 2018-01-15 17:23:17 +01:00
Makefile.am Add tests for find_multi_slots() 2018-01-25 16:12:56 +00:00
testsuite.at Add tests for find_multi_slots() 2018-01-25 16:12:56 +00:00