diff options
author | Rob Bradford <rob@linux.intel.com> | 2010-09-02 10:18:09 +0100 |
---|---|---|
committer | Rob Bradford <rob@linux.intel.com> | 2010-09-02 10:25:00 +0100 |
commit | 4e7ae7faadaa9039511f21eb2431f5c9dcee0668 (patch) | |
tree | 94fb65c8055e43ed8f3633b005ed107a336d3dae /rest-extras | |
parent | 661d0cfc5efc340086072c9d94626fda46fc471a (diff) | |
download | librest-4e7ae7faadaa9039511f21eb2431f5c9dcee0668.tar.gz |
build: Enable test code coverage analysis
Diffstat (limited to 'rest-extras')
-rw-r--r-- | rest-extras/Makefile.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rest-extras/Makefile.am b/rest-extras/Makefile.am index 9f69e95..e6a25b9 100644 --- a/rest-extras/Makefile.am +++ b/rest-extras/Makefile.am @@ -17,10 +17,11 @@ lib_headers = \ lib_LTLIBRARIES = librest-extras-@API_VERSION@.la librest_extras_@API_VERSION@_la_CFLAGS = $(GLIB_CFLAGS) $(GTHREAD_CFLAGS) \ $(SOUP_CFLAGS) $(SOUP_GNOME_CFLAGS) \ - $(XML_CFLAGS) \ + $(XML_CFLAGS) $(GCOV_CFLAGS) \ -I$(top_srcdir) -Wall -DG_LOG_DOMAIN=\"Rest\" librest_extras_@API_VERSION@_la_LIBADD = $(GLIB_LIBS) $(GTHREAD_LIBS) \ $(SOUP_LIBS) $(SOUP_GNOME_LIBS) $(XML_LIBS) \ + $(GCOV_LDFLAGS) \ $(top_builddir)/rest/librest-@API_VERSION@.la librest_extras_@API_VERSION@_la_SOURCES = $(lib_sources) $(lib_headers) librest_extras_@API_VERSION@_la_HEADERS = $(lib_headers) @@ -32,8 +33,8 @@ TESTS = test-runner check_PROGRAMS = test-runner test_runner_SOURCES = test-runner.c $(lib_sources) $(lib_headers) -test_runner_CFLAGS = -DBUILD_TESTS $(librest_extras_@API_VERSION@_la_CFLAGS) -test_runner_LDFLAGS = $(librest_extras_@API_VERSION@_la_LIBADD) +test_runner_CFLAGS = -DBUILD_TESTS $(librest_extras_@API_VERSION@_la_CFLAGS) $(GCOV_CFLAGS) +test_runner_LDFLAGS = $(librest_extras_@API_VERSION@_la_LIBADD) $(GCOV_LIBS) # TODO: use gtester |