[dconf] Fail to generate coverage report if tests fail
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] Fail to generate coverage report if tests fail
- Date: Sun, 15 Jul 2012 14:33:07 +0000 (UTC)
commit 32985d9a8325062c94d086b38c09203b0dc5f3e3
Author: Ryan Lortie <desrt desrt ca>
Date: Fri Jul 13 18:52:09 2012 -0400
Fail to generate coverage report if tests fail
We'll get an incomplete report in that case anyway...
Makefile.am | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index b1f0ee1..affb327 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,18 +11,18 @@ endif
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
EXTRA_DIST = trim-lcov.py
-.PHONY: lcov lcov-clean
-# use recursive makes in order to ignore errors during check
+clean-am: lcov-clean gcno-clean
+
+.PHONY: lcov lcov-clean gcno-clean
+
lcov: lcov-clean
- -$(MAKE) $(AM_MAKEFLAGS) -k check
+ $(MAKE) $(AM_MAKEFLAGS) check
lcov --directory $(top_builddir) --capture --test-name dconf | $(top_srcdir)/trim-lcov.py > dconf-lcov.info
LANG=C genhtml --prefix $(top_builddir) --output-directory lcov-html --legend --show-details dconf-lcov.info
@echo
@echo " file://$(abs_top_builddir)/lcov-html/index.html"
@echo
-clean-am: lcov-clean gcno-clean
-
gcno-clean:
-find -name '*.gcno' -delete
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]