diff options
author | Vincent Sanders <vince@kyllikki.org> | 2015-07-08 22:17:20 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-07-08 22:17:20 +0100 |
commit | cb3f267d4562c0a23ebf16b758e421d77c0dc51c (patch) | |
tree | 643759fb77c65294edb5be7b2429b3d777bb4fd4 /Makefile | |
parent | 8756793079c653e788f5932fc1d70cb35681cfc4 (diff) | |
download | netsurf-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |