From: senhuang42 Date: Thu, 15 Oct 2020 14:32:49 +0000 (-0400) Subject: Add libregression build target, also fix make clean and .gitignore X-Git-Tag: v1.4.7~50^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42d037bdbaae6b664dc50f4bd77f3fe48808adb1;p=thirdparty%2Fzstd.git Add libregression build target, also fix make clean and .gitignore --- diff --git a/tests/fuzz/.gitignore b/tests/fuzz/.gitignore index b6fc6e506..aab4760f5 100644 --- a/tests/fuzz/.gitignore +++ b/tests/fuzz/.gitignore @@ -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 diff --git a/tests/fuzz/Makefile b/tests/fuzz/Makefile index d88fae9c3..c88a60a33 100644 --- a/tests/fuzz/Makefile +++ b/tests/fuzz/Makefile @@ -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