Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -1445,6 +1445,11 @@ crowbar-afl-%: tests/crowbar/% ...@@ -1445,6 +1445,11 @@ crowbar-afl-%: tests/crowbar/%
$(MKDIR) tests/crowbar/output-$* $(MKDIR) tests/crowbar/output-$*
afl-fuzz $(AFL_OPTS) -i tests/crowbar/input -o 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 # # Emacs tags #
############## ##############
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment