Commit a8f76987 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[Makefile] add a target to check that crashes reported by afl aren't spurious

parent 3175ea90
......@@ -1445,6 +1445,11 @@ crowbar-afl-%: tests/crowbar/%
$(MKDIR) tests/crowbar/output-$*
afl-fuzz $(AFL_OPTS) -i tests/crowbar/input -o tests/crowbar/output-$* $< @@
crowbar-afl-check-%: tests/crowbar/%
$(foreach file,$(wildcard tests/crowbar/output-$*/crashes/id*), \
$< $(file) >/dev/null 2>&1 || \
echo "$(file) leads to a real test failure";)
##############
# Emacs tags #
##############
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment