make test can accept DEBUGLEVEL argument
This commit is contained in:
parent
37e314a68d
commit
ea441ee4ae
3
Makefile
3
Makefile
@ -64,7 +64,8 @@ zlibwrapper: lib
|
|||||||
|
|
||||||
## test: run long-duration tests
|
## test: run long-duration tests
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: MOREFLAGS += -g -DDEBUGLEVEL=1 -Werror
|
DEBUGLEVEL ?= 1
|
||||||
|
test: MOREFLAGS += -g -DDEBUGLEVEL=$(DEBUGLEVEL) -Werror
|
||||||
test:
|
test:
|
||||||
MOREFLAGS="$(MOREFLAGS)" $(MAKE) -j -C $(PRGDIR) allVariants
|
MOREFLAGS="$(MOREFLAGS)" $(MAKE) -j -C $(PRGDIR) allVariants
|
||||||
$(MAKE) -C $(TESTDIR) $@
|
$(MAKE) -C $(TESTDIR) $@
|
||||||
|
Loading…
Reference in New Issue
Block a user