summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2015-08-10 11:05:29 +0200
committerSam Spilsbury <smspillaz@gmail.com>2015-08-10 11:05:29 +0200
commit2d69ab21303ed4dd2604b3d1a9df585cdb25fa19 (patch)
tree5531b42aa0be6863b4d35590f10783a054bc9c88
parentd6f8a2703fd4724275e3be7a934c2e78b430461c (diff)
parent87bf507ea1527804fb9f1d5dbb299e0604e3b55f (diff)
Merge pull request #3425 from endlessm/issues/3303-25072015
eos-coverage.m4: Forward coverage flags to distcheck
-rw-r--r--m4/eos-coverage.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/eos-coverage.m4 b/m4/eos-coverage.m4
index df9ea67..f2672dc 100644
--- a/m4/eos-coverage.m4
+++ b/m4/eos-coverage.m4
@@ -414,6 +414,10 @@ run_coverage.coverage:
clean-local: clean-coverage
'
+ EOS_DISTCHECK_CONFIGURE_FLAGS_RULES="
+DISTCHECK_CONFIGURE_FLAGS += --enable-coverage --with-coverage-dir=$EOS_COVERAGE_DIR
+ "
+
EOS_COVERAGE_RULES_FOOTER='
run_coverage.log: $(filter-out run_coverage.log,$(TEST_LOGS))
@@ -422,7 +426,7 @@ CLEANFILES += run_coverage.coverage
.PHONY: eos-clean-c-coverage eos-c-coverage clean-coverage eos-collect-coverage coverage-cobertura coverage-genhtml
'
- EOS_COVERAGE_RULES="$EOS_COVERAGE_RULES_HEADER $EOS_GENHTML_COVERAGE_RULES $EOS_COBERTURA_COVERAGE_RULES $EOS_C_COVERAGE_RULES $EOS_JS_COVERAGE_RULES $EOS_COVERAGE_RULES_TARGETS $EOS_COVERAGE_AUTORUN_GENERATED_TARGET $EOS_COVERAGE_RULES_FOOTER"
+ EOS_COVERAGE_RULES="$EOS_COVERAGE_RULES_HEADER $EOS_GENHTML_COVERAGE_RULES $EOS_COBERTURA_COVERAGE_RULES $EOS_C_COVERAGE_RULES $EOS_JS_COVERAGE_RULES $EOS_COVERAGE_RULES_TARGETS $EOS_COVERAGE_AUTORUN_GENERATED_TARGET $EOS_DISTCHECK_CONFIGURE_FLAGS_RULES $EOS_COVERAGE_RULES_FOOTER"
# Substitute at the top first
AC_SUBST([EOS_COVERAGE_DIR])