aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-16 22:35:30 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-16 22:35:30 +0100
commit011954ceef406e8ee77393b5133214c153502ac0 (patch)
treeb9de41c9cc1dc5918e4b72022570840f787c737b
parent1adb6b47dccd992f3cb8938139c8f05b51db70b1 (diff)
downloadvis-011954ceef406e8ee77393b5133214c153502ac0.tar.gz
vis-011954ceef406e8ee77393b5133214c153502ac0.tar.xz
test/core: add code coverage instrumentation
-rw-r--r--core/Makefile5
1 files changed, 4 insertions, 1 deletions
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