aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-19 19:50:49 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-19 22:30:35 +0800
commit21ba8eea69a175452e417a029c149ba303d9952e (patch)
treea21657e079eeeeb8b3d3950f51c1995cf4f66157 /test
parent56412b11b3bee492f1e441eab8f01f86876376d7 (diff)
downloaddexon-solidity-21ba8eea69a175452e417a029c149ba303d9952e.tar
dexon-solidity-21ba8eea69a175452e417a029c149ba303d9952e.tar.gz
dexon-solidity-21ba8eea69a175452e417a029c149ba303d9952e.tar.bz2
dexon-solidity-21ba8eea69a175452e417a029c149ba303d9952e.tar.lz
dexon-solidity-21ba8eea69a175452e417a029c149ba303d9952e.tar.xz
dexon-solidity-21ba8eea69a175452e417a029c149ba303d9952e.tar.zst
dexon-solidity-21ba8eea69a175452e417a029c149ba303d9952e.zip
Disable error checking by bash for fuzzer
Diffstat (limited to 'test')
-rwxr-xr-xtest/cmdlineTests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cmdlineTests.sh b/test/cmdlineTests.sh
index 09db3191..54b48b4a 100755
--- a/test/cmdlineTests.sh
+++ b/test/cmdlineTests.sh
@@ -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"