summaryrefslogtreecommitdiffstats
path: root/tests/sercomm
Commit message (Collapse)AuthorAgeFilesLines
* Embedded: add sercomm stubsMax2018-01-211-4/+0
| | | | | | | The sercomm functions are unavailable in case of embedded build. Add stub and link the tests against it. Change-Id: I9bc5cb2f822b1a3ffdc6ec29f46b6bac8288314e
* Embedded: fix sercomm testMax2017-12-051-0/+4
| | | | | | | | | | | The external sercomm_drv_[un]lock() functions are defined as stubs in case of non-embedded build only which causes linking issue with sercomm_test. Let's define the same stubs in sercomm_test unconditionally - the implementation details of the locking are irrelevant for the test anyway. Related: OS#2708 Change-Id: I3dab4f3348871b66b5d6c9fd10b2e448c61f9e73
* sercomm_test: sanitize: fix msgb mem leakNeels Hofmeyr2017-11-201-0/+1
| | | | | | | | | This should fix the last current remaining sanitizer build failure in libosmocore regression tests. Helps fix sanitizer build on debian 9. Change-Id: I4d6dd7f4348675bc77d4df5a7a0ce41f12d4a043
* sercomm_test.c: return correctly in mainPau Espin Pedrol2017-06-221-0/+1
| | | | Change-Id: I57fd3e1bf74ec24dec692710359a1ce00ecde75a
* add sercomm unit testHarald Welte2017-05-172-0/+157
Change-Id: I9e2e7fcda28e7c6844d5faa09e02acf537cea44d