diff options
-rw-r--r-- | programs/Makefile | 3 | ||||
-rw-r--r-- | programs/fuzzer.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/programs/Makefile b/programs/Makefile index 3699a64..ad64340 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -196,7 +196,7 @@ test-frametest: frametest test-frametest32: frametest32 ./frametest32 -test-mem: lz4 datagen frametest +test-mem: lz4 datagen fuzzer frametest ./datagen -g16KB > tmp valgrind --leak-check=yes ./lz4 -9 -BD -f tmp /dev/null ./datagen -g16MB > tmp @@ -204,6 +204,7 @@ test-mem: lz4 datagen frametest ./datagen -g256MB > tmp valgrind --leak-check=yes ./lz4 -B4D -f tmp /dev/null rm tmp + valgrind --leak-check=yes ./fuzzer -i50 -t0 valgrind --leak-check=yes ./frametest -i100 test-mem32: lz4c32 datagen diff --git a/programs/fuzzer.c b/programs/fuzzer.c index 63c3ab9..3a2ec34 100644 --- a/programs/fuzzer.c +++ b/programs/fuzzer.c @@ -1058,7 +1058,7 @@ int main(int argc, char** argv) case 't': /* select starting test nb */ argument++; - testNb=0; + testNb=0; seedset=1; while ((*argument>='0') && (*argument<='9')) { testNb *= 10; |