Commit cc0aaa4e authored by Mohamed Fenjiro's avatar Mohamed Fenjiro Committed by Adrien Béraud

coverage: fix jenkins pipeline

Jenkins uses /foo folder, so only remove /foo/contrib and /foo/bin from
coverage.

Change-Id: I89b43f4bbc505e5001ceee733742352edb428208
parent e059062a
......@@ -22,7 +22,7 @@ precoverage:
coverage: precoverage check
$(AM_V_at)lcov --no-external --capture --directory $(top_builddir) --output-file dring-coverage-tests.info
$(AM_V_at)lcov --add-tracefile dring-coverage-base.info --add-tracefile dring-coverage-tests.info --output-file dring-coverage.info
$(AM_V_at)lcov --remove dring-coverage.info '/contrib/*' '/usr/include/*' '/bin/*' '/foo/*' --output-file dring-coverage-filtered.info
$(AM_V_at)lcov --remove dring-coverage.info '/contrib/*' '/usr/include/*' '/bin/*' '/foo/bin/*' '/foo/contrib/*' --output-file dring-coverage-filtered.info
$(MKDIR_P) html-output
genhtml -o html-output dring-coverage-filtered.info
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment