summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-01-27 10:29:49 +0100
committerHarald Welte <laforge@gnumonks.org>2017-02-08 18:23:06 +0100
commit4ffb43f654d12663af0c072eb6191716d377f4b5 (patch)
tree48c98a8efeb3a11f60fd5d3704a8c5e3873edad6 /tests/Makefile.am
parentf12d40f4df1d42e4e1ee81607db53cb01dced80d (diff)
Add minimal testing of socket.c helper functions
Change-Id: I2773b3859a206f96fb8fa095d50a653d9eeb8d79
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b9eb8f23..5731bf8d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -14,7 +14,7 @@ check_PROGRAMS = timer/timer_test sms/sms_test ussd/ussd_test \
smscb/gsm0341_test stats/stats_test \
bitvec/bitvec_test msgb/msgb_test bits/bitcomp_test \
tlv/tlv_test gsup/gsup_test oap/oap_test fsm/fsm_test \
- write_queue/wqueue_test
+ write_queue/wqueue_test socket/socket_test
if ENABLE_MSGFILE
check_PROGRAMS += msgfile/msgfile_test
@@ -140,6 +140,9 @@ fsm_fsm_test_LDADD = $(top_builddir)/src/libosmocore.la
write_queue_wqueue_test_SOURCES = write_queue/wqueue_test.c
write_queue_wqueue_test_LDADD = $(top_builddir)/src/libosmocore.la
+socket_socket_test_SOURCES = socket/socket_test.c
+socket_socket_test_LDADD = $(top_builddir)/src/libosmocore.la
+
# The `:;' works around a Bash 3.2 bug when the output is not writeable.
$(srcdir)/package.m4: $(top_srcdir)/configure.ac
:;{ \
@@ -176,7 +179,8 @@ EXTRA_DIST = testsuite.at $(srcdir)/package.m4 $(TESTSUITE) \
bitvec/bitvec_test.ok msgb/msgb_test.ok bits/bitcomp_test.ok \
sim/sim_test.ok tlv/tlv_test.ok gsup/gsup_test.ok \
oap/oap_test.ok fsm/fsm_test.ok fsm/fsm_test.err \
- write_queue/wqueue_test.ok
+ write_queue/wqueue_test.ok socket/socket_test.ok \
+ socket/socket_test.err
DISTCLEANFILES = atconfig atlocal