diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-21 21:30:23 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-21 21:30:23 +0100 |
commit | 6058220d2a05bada0a656809f9011fc86a1e22a5 (patch) | |
tree | 12cd337e06876c26f5b156051ff01258e3bd6287 /tests/Makefile.am | |
parent | 58db60c68ebf137ae2a886ec3bd1188431c84721 (diff) |
types: Add a simple testcase for basic types and fix the LLC code
* Make append_data, remaining_space and fits_in_current.. work
on m_length and not the index. This ways things can't overflow.
* The current API consumer was moving the m_index so it should have
worked okay.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 415fb4d4..e84f17de 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,6 +1,6 @@ AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGB_CFLAGS) $(LIBOSMOGSM_CFLAGS) -I$(top_srcdir)/src/ -check_PROGRAMS = rlcmac/RLCMACTest alloc/AllocTest tbf/TbfTest +check_PROGRAMS = rlcmac/RLCMACTest alloc/AllocTest tbf/TbfTest types/TypesTest noinst_PROGRAMS = emu/pcu_emu rlcmac_RLCMACTest_SOURCES = rlcmac/RLCMACTest.cpp @@ -35,6 +35,14 @@ emu_pcu_emu_LDADD = \ $(LIBOSMOCORE_LIBS) \ $(COMMON_LA) +types_TypesTest_SOURCES = types/TypesTest.cpp +types_TypesTest_LDADD = \ + $(LIBOSMOGB_LIBS) \ + $(LIBOSMOGSM_LIBS) \ + $(LIBOSMOCORE_LIBS) \ + $(COMMON_LA) \ + $(top_builddir)/src/libgprs.la + # The `:;' works around a Bash 3.2 bug when the output is not writeable. $(srcdir)/package.m4: $(top_srcdir)/configure.ac @@ -58,7 +66,8 @@ EXTRA_DIST = \ testsuite.at $(srcdir)/package.m4 $(TESTSUITE) \ rlcmac/RLCMACTest.ok rlcmac/RLCMACTest.err \ alloc/AllocTest.ok alloc/AllocTest.err \ - tbf/TbfTest.ok tbf/TbfTest.err + tbf/TbfTest.ok tbf/TbfTest.err \ + types/TypesTest.ok types/TypesTest.err DISTCLEANFILES = atconfig |