chiark / gitweb /
make sure gcov reports generated after all tests complete
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 6 Dec 2008 14:04:05 +0000 (14:04 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 6 Dec 2008 14:04:05 +0000 (14:04 +0000)
Makefile.am
libtests/Makefile.am

index 71fd269..c6ccb6f 100644 (file)
@@ -25,7 +25,7 @@ DISTCHECK_CONFIGURE_FLAGS:=httpdir=$(distdir)/_inst/httpdir cgiexecdir=$(shell p
 check-report: before-check check make-coverage-reports
 before-check:
        rm -f */*.gcda */*.gcov
-make-coverage-reports:
+make-coverage-reports: check
        @for subdir in lib plugins server clients disobedience; do \
          echo cd $$subdir;\
          cd $$subdir;\
index 6815b9e..e3a861e 100644 (file)
@@ -64,7 +64,7 @@ t_eventdist_SOURCES=t-eventdist.c test.c test.h
 check-report: before-check check make-coverage-reports
 before-check:
        rm -f *.gcda *.gcov
-make-coverage-reports:
+make-coverage-reports: check
        cd ../lib && ${GCOV} *.c | ${PYTHON} ../scripts/format-gcov-report --html . *.c
 
 EXTRA_DIST=t-macros-1.tmpl t-macros-2