]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add libregression build target, also fix make clean and .gitignore 2359/head
authorsenhuang42 <senhuang96@fb.com>
Thu, 15 Oct 2020 14:32:49 +0000 (10:32 -0400)
committersenhuang42 <senhuang96@fb.com>
Thu, 15 Oct 2020 14:34:50 +0000 (10:34 -0400)
tests/fuzz/.gitignore
tests/fuzz/Makefile

index b6fc6e506054b8d385a90f8ed136c80c2f170e2e..aab4760f5a7dd6d20500d6d29477e878d2f8323d 100644 (file)
@@ -13,7 +13,11 @@ simple_round_trip
 stream_decompress
 stream_round_trip
 zstd_frame_info
+decompress_dstSize_tooSmall
+fse_read_ncount
 fuzz-*.log
+rt_lib_*
+d_lib_*
 
 # misc
 trace
index d88fae9c3c0818ec1578b365d1420c105f813038..c88a60a33384441912e0bdb146f42dbb82ff9612 100644 (file)
@@ -99,7 +99,7 @@ FUZZ_TARGETS :=       \
        decompress_dstSize_tooSmall \
        fse_read_ncount
 
-all: $(FUZZ_TARGETS)
+all: libregression.a $(FUZZ_TARGETS)
 
 rt_lib_common_%.o: $(ZSTDDIR)/common/%.c
        $(CC) $(FUZZ_CPPFLAGS) $(FUZZ_CFLAGS) $(FUZZ_ROUND_TRIP_FLAGS) $< -c -o $@
@@ -209,12 +209,10 @@ regressiontest: corpora
        $(PYTHON) ./fuzz.py regression all
 
 clean:
-       @$(RM) *.a *.o
-       @$(RM) simple_round_trip stream_round_trip simple_decompress \
-           stream_decompress block_decompress block_round_trip \
-           simple_compress dictionary_round_trip dictionary_decompress \
-           zstd_frame_info
+       @$(RM) *.a *.o $(FUZZ_TARGETS)
+       @echo Cleaning completed
 
 cleanall:
        @$(RM) -r Fuzzer
        @$(RM) -r corpora
+       @echo Cleaning completed