aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-09-27 14:18:37 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-09-27 16:29:54 +0200
commit4b54cab4763777c7741cf401ac02ec7bb4d023c4 (patch)
tree3669c7e9e369273eac590abff8a7dde1e0f66e59 /tests/Makefile.am
parent0262d3ff9fadbc6300e4146101539b4f07fcf4b8 (diff)
logging: Move the logging test from OpenBSC into libosmocore
Add a testcase for the logging facility. The test is coming from the OpenBSC code.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1d1491e..aaad0c8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,7 +4,7 @@ check_PROGRAMS = timer/timer_test sms/sms_test ussd/ussd_test \
smscb/smscb_test bits/bitrev_test a5/a5_test \
conv/conv_test auth/milenage_test lapd/lapd_test \
gsm0808/gsm0808_test gsm0408/gsm0408_test \
- gb/bssgp_fc_test
+ gb/bssgp_fc_test logging/logging_test
if ENABLE_MSGFILE
check_PROGRAMS += msgfile/msgfile_test
endif
@@ -48,6 +48,9 @@ ussd_ussd_test_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gs
gb_bssgp_fc_test_SOURCES = gb/bssgp_fc_test.c
gb_bssgp_fc_test_LDADD = $(top_builddir)/src/libosmocore.la $(top_builddir)/src/gb/libosmogb.la
+logging_logging_test_SOURCES = logging/logging_test.c
+logging_logging_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
:;{ \
@@ -73,7 +76,9 @@ EXTRA_DIST = testsuite.at $(srcdir)/package.m4 $(TESTSUITE) \
lapd/lapd_test.ok gsm0408/gsm0408_test.ok \
gsm0808/gsm0808_test.ok gb/bssgp_fc_tests.err \
gb/bssgp_fc_tests.ok gb/bssgp_fc_tests.sh \
- msgfile/msgfile_test.ok msgfile/msgconfig.cfg
+ msgfile/msgfile_test.ok msgfile/msgconfig.cfg \
+ logging/logging_test.ok logging/logging_test.err
+
TESTSUITE = $(srcdir)/testsuite
check-local: atconfig $(TESTSUITE)