From f216d5bbb1595f2fbed29517ba87b80e8c02f3c0 Mon Sep 17 00:00:00 2001 From: Refael Ackermann Date: Thu, 10 Jan 2019 10:34:25 -0500 Subject: [PATCH] build,test: fail `coverage` target if tests fail PR-URL: https://github.com/nodejs/node/pull/25432 Reviewed-By: Luigi Pinca Reviewed-By: Michael Dawson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9dd9b198491eb3..1b81eb35525850 100644 --- a/Makefile +++ b/Makefile @@ -227,7 +227,7 @@ coverage-test: coverage-build $(RM) out/$(BUILDTYPE)/obj.target/node_lib/gen/*.gcda $(RM) out/$(BUILDTYPE)/obj.target/node_lib/src/*.gcda $(RM) out/$(BUILDTYPE)/obj.target/node_lib/src/tracing/*.gcda - -$(MAKE) $(COVTESTS) + $(MAKE) $(COVTESTS) mv lib lib__ mv lib_ lib mkdir -p coverage .cov_tmp