aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-01-31 23:05:27 +0800
committerGitHub <noreply@github.com>2017-01-31 23:05:27 +0800
commitf9af2de0b4ad0399344f5e3b80d6d977fdb4f308 (patch)
tree764a685d8817e1c56ac34877db9d79fe82f7c309 /scripts
parent547501c02ec5c2ce70caca38d797f5d3d864732a (diff)
parent318fbb2604c69dc6eef438aad37b12b99586b198 (diff)
downloaddexon-solidity-f9af2de0b4ad0399344f5e3b80d6d977fdb4f308.tar
dexon-solidity-f9af2de0b4ad0399344f5e3b80d6d977fdb4f308.tar.gz
dexon-solidity-f9af2de0b4ad0399344f5e3b80d6d977fdb4f308.tar.bz2
dexon-solidity-f9af2de0b4ad0399344f5e3b80d6d977fdb4f308.tar.lz
dexon-solidity-f9af2de0b4ad0399344f5e3b80d6d977fdb4f308.tar.xz
dexon-solidity-f9af2de0b4ad0399344f5e3b80d6d977fdb4f308.tar.zst
dexon-solidity-f9af2de0b4ad0399344f5e3b80d6d977fdb4f308.zip
Merge pull request #1594 from ethereum/fixStdToken
Make standard token compileable.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index cf18cb26..f2142946 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -33,6 +33,10 @@ REPO_ROOT="$(dirname "$0")"/..
echo "Running commandline tests..."
"$REPO_ROOT/test/cmdlineTests.sh"
+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.