fix test
DEBUGLEVEL redefinition
This commit is contained in:
+5
-4
@@ -96,7 +96,7 @@ dll: fuzzer-dll zstreamtest-dll
|
|||||||
|
|
||||||
PHONY: zstd zstd32 zstd-nolegacy # must be phony, only external makefile knows how to build them, or if they need an update
|
PHONY: zstd zstd32 zstd-nolegacy # must be phony, only external makefile knows how to build them, or if they need an update
|
||||||
zstd zstd32 zstd-nolegacy:
|
zstd zstd32 zstd-nolegacy:
|
||||||
$(MAKE) -C $(PRGDIR) $@ MOREFLAGS+="$(DEBUGFLAGS)"
|
$(MAKE) -C $(PRGDIR) $@ MOREFLAGS+="$(DEBUGFLAGS)" DEBUGLEVEL=$(DEBUGLEVEL)
|
||||||
|
|
||||||
gzstd:
|
gzstd:
|
||||||
$(MAKE) -C $(PRGDIR) $@ HAVE_ZLIB=1 MOREFLAGS+="$(DEBUGFLAGS)"
|
$(MAKE) -C $(PRGDIR) $@ HAVE_ZLIB=1 MOREFLAGS+="$(DEBUGFLAGS)"
|
||||||
@@ -255,7 +255,8 @@ clean:
|
|||||||
#----------------------------------------------------------------------------------
|
#----------------------------------------------------------------------------------
|
||||||
# valgrind tests are validated only for some posix platforms
|
# valgrind tests are validated only for some posix platforms
|
||||||
#----------------------------------------------------------------------------------
|
#----------------------------------------------------------------------------------
|
||||||
ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
|
UNAME := $(shell uname)
|
||||||
|
ifneq (,$(filter $(UNAME),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
|
||||||
HOST_OS = POSIX
|
HOST_OS = POSIX
|
||||||
|
|
||||||
valgrindTest: VALGRIND = valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1
|
valgrindTest: VALGRIND = valgrind --leak-check=full --show-leak-kinds=all --error-exitcode=1
|
||||||
@@ -275,7 +276,7 @@ valgrindTest: zstd datagen fuzzer fullbench
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
ifneq (,$(filter MINGW% MSYS%,$(shell uname)))
|
ifneq (,$(filter MINGW% MSYS%,$(UNAME)))
|
||||||
HOST_OS = MSYS
|
HOST_OS = MSYS
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -286,7 +287,7 @@ endif
|
|||||||
ifneq (,$(filter $(HOST_OS),MSYS POSIX))
|
ifneq (,$(filter $(HOST_OS),MSYS POSIX))
|
||||||
|
|
||||||
DIFF:=diff
|
DIFF:=diff
|
||||||
ifneq (,$(filter $(shell uname),SunOS))
|
ifneq (,$(filter $(UNAME),SunOS))
|
||||||
DIFF:=gdiff
|
DIFF:=gdiff
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user