Test that all constructible std contracts produce bytecode.

This commit is contained in:
chriseth 2017-01-20 19:48:53 +01:00
parent 12b002b3b8
commit 61a15bb92e

View File

@ -45,6 +45,10 @@ do
test -z "$output" -a "$failed" -eq 0
done
echo "Checking that StandardToken.sol, owned.sol and mortal.sol produce bytecode..."
output=$("$REPO_ROOT"/build/solc/solc --bin "$REPO_ROOT"/std/*.sol 2>/dev/null | grep "ffff" | wc -l)
test "$output" = "3"
# This conditional is only needed because we don't have a working Homebrew
# install for `eth` at the time of writing, so we unzip the ZIP file locally
# instead. This will go away soon.