summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2005-08-30 01:22:01 +0000
committerUlrich Drepper <[email protected]>2005-08-30 01:22:01 +0000
commit39cec7a022159c4d05867c3ca5d8f5c4df462d95 (patch)
tree1b43409cfefb7e68168dbe8135364dada2a52ef2 /tests/Makefile.am
parentfbe998a0b1be1f006bc72e5138fb38c188cc0433 (diff)
Add coverage analysis of test suite.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5ffe34ce..119e11d7 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -70,7 +70,8 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh \
testfile18.bz2 testfile19.bz2 testfile19.index.bz2 \
testfile20.bz2 testfile20.index.bz2 \
testfile21.bz2 testfile21.index.bz2 \
- testfile22.bz2 testfile23.bz2 testfile24.bz2 testfile25.bz2
+ testfile22.bz2 testfile23.bz2 testfile24.bz2 testfile25.bz2 \
+ coverage.sh
if MUDFLAP
static_build=yes
@@ -128,3 +129,10 @@ asm_tst9_LDADD = $(libasm) $(libebl) $(libelf) $(libmudflap) -ldl
dwflmodtest_LDADD = $(libdw) $(libebl) $(libelf) $(libmudflap) -ldl
CLEANFILES = xxx *.gcno *.gcda *gconv
+
+if GCOV
+check: check-am coverage
+.PHONY: coverage
+coverage:
+ -$(srcdir)/coverage.sh
+endif