From 011954ceef406e8ee77393b5133214c153502ac0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 16 Dec 2016 22:35:30 +0100 Subject: test/core: add code coverage instrumentation --- core/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/Makefile b/core/Makefile index 578d705..75180e0 100644 --- a/core/Makefile +++ b/core/Makefile @@ -32,6 +32,9 @@ array: config.h array.c ../../array.c debug: clean $(MAKE) CFLAGS_EXTRA='${CFLAGS_DEBUG}' +coverage: clean + $(MAKE) CFLAGS_EXTRA='--coverage' + clean: @echo cleaning @rm -f text @@ -39,4 +42,4 @@ clean: @rm -f map @rm -f array -.PHONY: clean debug +.PHONY: clean debug coverage -- cgit v1.2.3