summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-07-08 22:17:20 +0100
committerVincent Sanders <vince@kyllikki.org>2015-07-08 22:17:20 +0100
commitcb3f267d4562c0a23ebf16b758e421d77c0dc51c (patch)
tree643759fb77c65294edb5be7b2429b3d777bb4fd4 /Makefile
parent8756793079c653e788f5932fc1d70cb35681cfc4 (diff)
downloadnetsurf-cb3f267d4562c0a23ebf16b758e421d77c0dc51c.tar.gz
netsurf-cb3f267d4562c0a23ebf16b758e421d77c0dc51c.tar.bz2
Add coverage to the unit test makefile targets
The tests now only require that the test name is added to the TESTS variable and a testname_SRCS is set with a list of required sources to compile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8e1fcc35b..ff36456e7 100644
--- a/Makefile
+++ b/Makefile
@@ -780,7 +780,7 @@ $(eval $(foreach SOURCE,$(filter %.m,$(SOURCES)), \
#$(eval $(foreach SOURCE,$(filter %.s,$(SOURCES)), \
# $(call dependency_generate_s,$(SOURCE),$(subst /,_,$(SOURCE:.s=.d)),$(subst /,_,$(SOURCE:.s=.o)))))
-ifeq ($(filter $(MAKECMDGOALS),clean test),)
+ifeq ($(filter $(MAKECMDGOALS),clean test coverage),)
-include $(sort $(addprefix $(DEPROOT)/,$(DEPFILES)))
-include $(D_JSAPI_BINDING)
endif