Skip to content

Commit ea00151

Browse files
committed
unix/Makefile: Split long line for coverage target, easier to modify.
1 parent d7e1684 commit ea00151

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

unix/Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,14 @@ freedos:
238238

239239
# build an interpreter for coverage testing and do the testing
240240
coverage:
241-
$(MAKE) COPT="-O0" CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_coverage.h>" -fprofile-arcs -ftest-coverage -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wuninitialized -Wunused-parameter -DMICROPY_UNIX_COVERAGE' LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' BUILD=build-coverage PROG=micropython_coverage
241+
$(MAKE) \
242+
COPT="-O0" CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_coverage.h>" \
243+
-fprofile-arcs -ftest-coverage \
244+
-Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wsign-compare \
245+
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
246+
-DMICROPY_UNIX_COVERAGE' \
247+
LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' \
248+
BUILD=build-coverage PROG=micropython_coverage
242249

243250
coverage_test: coverage
244251
$(eval DIRNAME=$(notdir $(CURDIR)))

0 commit comments

Comments
 (0)