From 7d5cf5970cb4b93f7f331f2d6b8a0c2498c0a295 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 30 Jan 2019 21:16:07 -0800 Subject: [PATCH] tools: exclude benchmark code from coverage report Refs: https://github.com/nodejs/build/issues/1676#issuecomment-459218651 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index db8a623553bbf3..da159b6859607f 100644 --- a/Makefile +++ b/Makefile @@ -242,7 +242,7 @@ coverage-test: coverage-build COV_REPORT_OPTIONS = --reporter=html \ --temp-directory=out/$(BUILDTYPE)/.coverage --omit-relative=false \ - --resolve=./lib --exclude="deps/" --exclude="test/" --exclude="tools/" \ + --resolve=./lib --exclude="benchmark/" --exclude="deps/" --exclude="test/" --exclude="tools/" \ --wrapper-length=0 ifdef COV_ENFORCE_THRESHOLD COV_REPORT_OPTIONS += --check-coverage --lines=$(COV_ENFORCE_THRESHOLD)