diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-15 18:37:57 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-15 20:06:45 +0100 |
commit | ecd94a4b45924c3c65feabc87bbc7a075e951249 (patch) | |
tree | f3622b119e81c1c86c288a6273ce9e9bdba8841d /openbsc/src/gprs/Makefile.am | |
parent | 0b369c582b94c2b409417bcaed0fcdd90d925d9e (diff) |
misc: Introduce a --enable-coverage mode to build with gprof coverage
This adds a test coverage build. One can use gcov and lcov on the
resulting data afterwards to see which code paths were executed and
which were not.
Diffstat (limited to 'openbsc/src/gprs/Makefile.am')
-rw-r--r-- | openbsc/src/gprs/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/gprs/Makefile.am b/openbsc/src/gprs/Makefile.am index a85ff1934..fe344944c 100644 --- a/openbsc/src/gprs/Makefile.am +++ b/openbsc/src/gprs/Makefile.am @@ -1,6 +1,6 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) -AM_CFLAGS=-Wall -fno-strict-aliasing $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) -AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS) +AM_CFLAGS=-Wall -fno-strict-aliasing $(LIBOSMOCORE_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(COVERAGE_CFLAGS) +AM_LDFLAGS = $(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS) $(COVERAGE_LDFLAGS) noinst_LIBRARIES = libgb.a noinst_HEADERS = gprs_sndcp.h |