From 7673ce4ebe90a317e39344e5c4b4ea6a9c29516c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 10 Aug 2009 06:40:05 +0200 Subject: misc: Firs round of fixing compilation of test cases Next round should be using them again --- openbsc/tests/channel/Makefile.am | 3 ++- openbsc/tests/channel/channel_test.c | 1 + openbsc/tests/sms/sms_test.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'openbsc/tests') diff --git a/openbsc/tests/channel/Makefile.am b/openbsc/tests/channel/Makefile.am index 5a3477cf5..6b7468c52 100644 --- a/openbsc/tests/channel/Makefile.am +++ b/openbsc/tests/channel/Makefile.am @@ -10,6 +10,7 @@ channel_test_SOURCES = channel_test.c \ $(top_srcdir)/src/timer.c \ $(top_srcdir)/src/select.c \ $(top_srcdir)/src/talloc.c \ - $(top_srcdir)/src/gsm_data.c + $(top_srcdir)/src/gsm_data.c \ + $(top_srcdir)/src/signal.c channel_test_LDADD = -ldl -ldbi diff --git a/openbsc/tests/channel/channel_test.c b/openbsc/tests/channel/channel_test.c index ab165c720..4dcf69ae2 100644 --- a/openbsc/tests/channel/channel_test.c +++ b/openbsc/tests/channel/channel_test.c @@ -74,4 +74,5 @@ int main(int argc, char** argv) void nm_state_event() {} void input_event() {} +void sms_alloc() {} diff --git a/openbsc/tests/sms/sms_test.c b/openbsc/tests/sms/sms_test.c index 5c3c7c7fc..ec765ad34 100644 --- a/openbsc/tests/sms/sms_test.c +++ b/openbsc/tests/sms/sms_test.c @@ -102,7 +102,7 @@ int main(int argc, char** argv) msgb_free(msg); } - gsm0411_send_sms(0, 0); + gsm411_send_sms_lchan(0, 0); } /* stubs */ -- cgit v1.2.3