From 61a15bb92efd24b54dfa982d42a600b075ebad38 Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 20 Jan 2017 19:48:53 +0100 Subject: Test that all constructible std contracts produce bytecode. --- scripts/tests.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/tests.sh b/scripts/tests.sh index dfbda734..21958288 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -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. -- cgit v1.2.3