Disable error checking by bash for fuzzer

This commit is contained in:
chriseth 2017-05-19 13:50:49 +02:00 committed by Alex Beregszaszi
parent 56412b11b3
commit 21ba8eea69

View File

@ -79,11 +79,14 @@ TMPDIR=$(mktemp -d)
"$REPO_ROOT"/scripts/isolate_tests.py "$REPO_ROOT"/test/
for f in *.sol
do
set +e
"$REPO_ROOT"/build/test/solfuzzer --quiet < "$f"
if [ $? -ne 0 ]; then
echo "Fuzzer failed on:"
cat $f
exit 1
fi
set -e
done
)
rm -rf "$TMPDIR"