Merge pull request #2359 from senhuang42/fuzz_makefile_cleanup
[minor] Fix some /tests/fuzz Makefile annoyances
This commit is contained in:
commit
9327a77c76
4
tests/fuzz/.gitignore
vendored
4
tests/fuzz/.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user