diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-08-10 06:40:05 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-08-10 06:40:05 +0200 |
commit | 7673ce4ebe90a317e39344e5c4b4ea6a9c29516c (patch) | |
tree | f231c004e22e4e1aad7a2e1569079c60a0797727 | |
parent | e58ca7c1818d0024f1051b8ba02e46938313e0e8 (diff) |
misc: Firs round of fixing compilation of test cases
Next round should be using them again
-rw-r--r-- | openbsc/tests/channel/Makefile.am | 3 | ||||
-rw-r--r-- | openbsc/tests/channel/channel_test.c | 1 | ||||
-rw-r--r-- | openbsc/tests/sms/sms_test.c | 2 |
3 files changed, 4 insertions, 2 deletions
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 */ |