🐛 fixed Makefile to work with proper CBOR files

This commit is contained in:
Niels Lohmann 2016-12-25 16:07:10 +01:00
parent 6de9d4035a
commit e4cc62e653

View file

@ -59,7 +59,7 @@ fuzz_testing_cbor:
mkdir -p fuzz-testing fuzz-testing/testcases fuzz-testing/out
$(MAKE) parse_cbor_fuzzer -C test CXX=afl-clang++
mv test/parse_cbor_fuzzer fuzz-testing/fuzzer
find test/data -size -5k -name *cbor | xargs -I{} cp "{}" fuzz-testing/testcases
find test/data -size -5k -name *.cbor | xargs -I{} cp "{}" fuzz-testing/testcases
@echo "Execute: afl-fuzz -i fuzz-testing/testcases -o fuzz-testing/out fuzz-testing/fuzzer"