diff options
author | Yann Collet <cyan@fb.com> | 2018-09-04 23:50:34 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2018-09-04 23:50:34 (GMT) |
commit | d2d566097031e5119980eb5ebbfa47023bc33c55 (patch) | |
tree | 4fda25a0c575fcdf9ae90b6d5d338c2f03d4635d /tests/Makefile | |
parent | c4dbc37b3ce085a05441124fee4a8144dc149b05 (diff) | |
download | lz4-d2d566097031e5119980eb5ebbfa47023bc33c55.zip lz4-d2d566097031e5119980eb5ebbfa47023bc33c55.tar.gz lz4-d2d566097031e5119980eb5ebbfa47023bc33c55.tar.bz2 |
new test program : roundTripTest
make a round trip test with arbitrary input file,
generate an `abort()` on error,
to work in tandem with `afl`.
note : currently locked on level 9, to investigate #560.
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile index 81033b5..bc43234 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -63,7 +63,7 @@ NB_LOOPS ?= -i1 default: all -all: fullbench fuzzer frametest datagen +all: fullbench fuzzer frametest roundTripTest datagen all32: CFLAGS+=-m32 all32: all @@ -103,6 +103,9 @@ fuzzer : lz4.o lz4hc.o xxhash.o fuzzer.c frametest: lz4frame.o lz4.o lz4hc.o xxhash.o frametest.c $(CC) $(FLAGS) $^ -o $@$(EXT) +roundTripTest : lz4.o lz4hc.o xxhash.o roundTripTest.c + $(CC) $(FLAGS) $^ -o $@$(EXT) + datagen : $(PRGDIR)/datagen.c datagencli.c $(CC) $(FLAGS) -I$(PRGDIR) $^ -o $@$(EXT) |