mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Test that all constructible std contracts produce bytecode.
This commit is contained in:
parent
12b002b3b8
commit
61a15bb92e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user