]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
make test can accept DEBUGLEVEL argument
authorYann Collet <cyan@fb.com>
Mon, 10 Dec 2018 07:20:51 +0000 (23:20 -0800)
committerYann Collet <cyan@fb.com>
Mon, 10 Dec 2018 07:20:51 +0000 (23:20 -0800)
Makefile

index c63db80e9e0cf625dde3817e4d6d16c854bbd36b..1b1d27c15d6f4db618c8aa6e1ea495f42aebf404 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,8 @@ zlibwrapper: lib
 
 ## test: run long-duration tests
 .PHONY: test
-test: MOREFLAGS += -g -DDEBUGLEVEL=1 -Werror
+DEBUGLEVEL ?= 1
+test: MOREFLAGS += -g -DDEBUGLEVEL=$(DEBUGLEVEL) -Werror
 test:
        MOREFLAGS="$(MOREFLAGS)" $(MAKE) -j -C $(PRGDIR) allVariants
        $(MAKE) -C $(TESTDIR) $@