mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Display the source on which the 'fuzzer' failed
This commit is contained in:
parent
6f9428e900
commit
56412b11b3
@ -80,6 +80,10 @@ TMPDIR=$(mktemp -d)
|
|||||||
for f in *.sol
|
for f in *.sol
|
||||||
do
|
do
|
||||||
"$REPO_ROOT"/build/test/solfuzzer --quiet < "$f"
|
"$REPO_ROOT"/build/test/solfuzzer --quiet < "$f"
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "Fuzzer failed on:"
|
||||||
|
cat $f
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
)
|
)
|
||||||
rm -rf "$TMPDIR"
|
rm -rf "$TMPDIR"
|
||||||
|
Loading…
Reference in New Issue
Block a user