aboutsummaryrefslogtreecommitdiffstats
path: root/test/cmdlineTests.sh
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-19 16:50:34 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-19 22:30:35 +0800
commit56412b11b3bee492f1e441eab8f01f86876376d7 (patch)
tree2b31f890e9213e9a3990d544cc48edcc9b516b48 /test/cmdlineTests.sh
parent6f9428e9008f9d979caf7ff2f67ae85c784a0111 (diff)
downloaddexon-solidity-56412b11b3bee492f1e441eab8f01f86876376d7.tar.gz
dexon-solidity-56412b11b3bee492f1e441eab8f01f86876376d7.tar.zst
dexon-solidity-56412b11b3bee492f1e441eab8f01f86876376d7.zip
Display the source on which the 'fuzzer' failed
Diffstat (limited to 'test/cmdlineTests.sh')
-rwxr-xr-xtest/cmdlineTests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cmdlineTests.sh b/test/cmdlineTests.sh
index 6dc3f77f..09db3191 100755
--- a/test/cmdlineTests.sh
+++ b/test/cmdlineTests.sh
@@ -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"