]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed poolTests
authorYann Collet <cyan@fb.com>
Thu, 11 Apr 2019 16:50:39 +0000 (09:50 -0700)
committerYann Collet <cyan@fb.com>
Thu, 11 Apr 2019 16:50:39 +0000 (09:50 -0700)
added poolTests to all

tests/Makefile
tests/poolTests.c

index 695a49b99590e2aa46aa12b6e2ad2b6ce26ed652..f11b731835ea34f69ec991d25cc41f2f01e64e72 100644 (file)
@@ -82,7 +82,7 @@ default: fullbench
        @echo $(ZSTDMT_OBJECTS)
 
 all: fullbench fuzzer zstreamtest paramgrill datagen decodecorpus roundTripCrash \
-     fullbench-lib
+     fullbench-lib poolTests
 
 all32: fullbench32 fuzzer32 zstreamtest32
 
@@ -233,7 +233,7 @@ else
        $(CC) $(FLAGS) $< -o $@$(EXT) -Wl,-rpath=$(ZSTDDIR) $(ZSTDDIR)/libzstd.so   # broken on Mac
 endif
 
-poolTests : $(PRGDIR)/util.c poolTests.c $(ZSTDDIR)/common/pool.c $(ZSTDDIR)/common/threading.c $(ZSTDDIR)/common/zstd_common.c $(ZSTDDIR)/common/error_private.c
+poolTests : $(PRGDIR)/util.c $(PRGDIR)/timefn.c poolTests.c $(ZSTDDIR)/common/pool.c $(ZSTDDIR)/common/threading.c $(ZSTDDIR)/common/zstd_common.c $(ZSTDDIR)/common/error_private.c
        $(CC) $(FLAGS) $(MULTITHREAD) $^ -o $@$(EXT)
 
 .PHONY: versionsTest
index 8b9a4700229d78e38646a1bbb40d738933f9df8e..dbfe5096b1768e3fdfb2a433aaf67cb83737991c 100644 (file)
@@ -12,6 +12,7 @@
 #include "pool.h"
 #include "threading.h"
 #include "util.h"
+#include "timefn.h"
 #include <stddef.h>
 #include <stdio.h>