Display the source on which the 'fuzzer' failed

This commit is contained in:
Alex Beregszaszi 2017-05-19 09:50:34 +01:00
parent 6f9428e900
commit 56412b11b3

View File

@ -80,6 +80,10 @@ TMPDIR=$(mktemp -d)
for f in *.sol
do
"$REPO_ROOT"/build/test/solfuzzer --quiet < "$f"
if [ $? -ne 0 ]; then
echo "Fuzzer failed on:"
cat $f
fi
done
)
rm -rf "$TMPDIR"