aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 06:40:05 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 06:40:05 +0200
commit7673ce4ebe90a317e39344e5c4b4ea6a9c29516c (patch)
treef231c004e22e4e1aad7a2e1569079c60a0797727 /openbsc/tests
parente58ca7c1818d0024f1051b8ba02e46938313e0e8 (diff)
misc: Firs round of fixing compilation of test cases
Next round should be using them again
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/channel/Makefile.am3
-rw-r--r--openbsc/tests/channel/channel_test.c1
-rw-r--r--openbsc/tests/sms/sms_test.c2
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 */