Skip to content
Snippets Groups Projects
Commit d3bb57be authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Check afl before running tests

parent 5108d48d
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,14 @@ log_error() ...@@ -15,6 +15,14 @@ log_error()
exit 1 exit 1
} }
check_afl()
{
which afl-showmap
if [ ! $? -eq 0 ]; then
log_error "AFL doesn't seem to be installed. Try: sudo apt install afl before proceeding"
fi
}
build_one() build_one()
{ {
orig=$1 orig=$1
...@@ -90,6 +98,7 @@ verify_afl_map() ...@@ -90,6 +98,7 @@ verify_afl_map()
} }
clean_all clean_all
check_afl
build_all build_all
verify_output verify_output
verify_afl_map verify_afl_map
......
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