diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-19 16:50:34 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-19 22:30:35 +0800 |
commit | 56412b11b3bee492f1e441eab8f01f86876376d7 (patch) | |
tree | 2b31f890e9213e9a3990d544cc48edcc9b516b48 /test/cmdlineTests.sh | |
parent | 6f9428e9008f9d979caf7ff2f67ae85c784a0111 (diff) | |
download | dexon-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-x | test/cmdlineTests.sh | 4 |
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" |