From 3ac79db604ebfc872f2f9009e444e8479c553886 Mon Sep 17 00:00:00 2001 From: Snaipe Date: Fri, 6 Feb 2015 02:58:55 +0100 Subject: [PATCH] Fixed compilation issue with non-installed csptr & excluded dependencies from coverage --- .travis.yml | 2 +- Makefile.am | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 884676f..7d2629c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,6 @@ before_install: script: - ./autogen.sh && ./configure --enable-gcov CFLAGS="-g -O0" && make && make check after_success: - - coveralls --gcov gcov-4.9 --exclude samples --gcov-options '\-lp' -b . + - coveralls --gcov gcov-4.9 --exclude samples --exclude dependencies --gcov-options '\-lp' -b . after_failure: - cat $(find check -iname '*.log') /dev/null diff --git a/Makefile.am b/Makefile.am index 618be24..684c818 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,9 +8,10 @@ WARNINGS = -Wall -Wextra \ libcriterion_la_CFLAGS = \ $(WARNINGS) \ - -std=gnu11 \ + -std=gnu99 \ -fplan9-extensions \ -I$(top_srcdir)/include/ \ + -I$(top_srcdir)/dependencies/csptr/include/ \ $(COVERAGE_CFLAGS) libcriterion_la_LDFLAGS = $(COVERAGE_LDFLAGS)