]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed fuzzer32 to support multithreading tests
authorYann Collet <cyan@fb.com>
Wed, 2 Dec 2020 17:13:55 +0000 (09:13 -0800)
committerYann Collet <cyan@fb.com>
Wed, 2 Dec 2020 17:13:55 +0000 (09:13 -0800)
though it still fails on test33:
`test 33: superblock uncompressible data, too many nocompress superblocks`

tests/Makefile

index a4521b60758ae25b6770f2e54a16f3494f15aa2e..83ebca9346391357b4d715013a10c907ef4463ef 100644 (file)
@@ -152,7 +152,7 @@ fuzzer : LDFLAGS += $(MULTITHREAD_LD)
 fuzzer : $(ZSTDMT_OBJECTS)
 fuzzer fuzzer32 : $(ZDICT_FILES) $(PRGDIR)/util.c $(PRGDIR)/timefn.c $(PRGDIR)/datagen.c fuzzer.c
 
-fuzzer32 : CFLAGS += -m32
+fuzzer32 : CFLAGS += -m32 $(MULTITHREAD)
 fuzzer32 : $(ZSTD_FILES)
        $(LINK.c) $^ -o $@$(EXT)