From 37dcd65077f13ed2b43f7014b8b8132fe9e98940 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 19 Feb 2018 01:40:25 +0100 Subject: [PATCH] Add a test for code coverage It does not fully work yet though, and is disabled by default. --- tests/project.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/project.conf b/tests/project.conf index 81f14e0..15c4806 100644 --- a/tests/project.conf +++ b/tests/project.conf @@ -1,4 +1,4 @@ -targets=clint.log,fixme.log,htmllint.log,phplint.log,pylint.log,shlint.log,tests.log,xmllint.log +targets=clint.log,coverage.log,fixme.log,htmllint.log,phplint.log,pylint.log,shlint.log,tests.log,xmllint.log dist=Makefile,tests.sh,binary/project.conf,binary/Makefile.Darwin,binary/Makefile.DeforaOS,binary/Makefile.NetBSD,binary/Makefile.Windows,include/project.conf,include/Makefile.NetBSD,library/project.conf,library/Makefile.Darwin,library/Makefile.Linux,library/Makefile.NetBSD,library/Makefile.Windows,libtool/project.conf,libtool/Makefile.Darwin,libtool/Makefile.Linux,libtool/Makefile.NetBSD,libtool/Makefile.Windows,object/project.conf,object/Makefile.NetBSD,package/project.conf,package/Makefile.NetBSD,plugin/project.conf,plugin/Makefile.Darwin,plugin/Makefile.NetBSD,script/project.conf,script/Makefile.NetBSD,verilog/project.conf,verilog/Makefile.NetBSD [clint.log] @@ -6,6 +6,12 @@ type=script script=../doc/scripts/clint.sh depends=../doc/scripts/clint.sh +[coverage.log] +type=script +script=../doc/scripts/coverage.sh +enabled=0 +depends=../doc/scripts/coverage.sh + [fixme.log] type=script script=../doc/scripts/fixme.sh