From a8d78bb7675f81dd992a588582501d7db6d578d2 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 12 Jul 2017 19:06:36 +0200 Subject: Refactor compilation tests. --- scripts/tests.sh | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'scripts') diff --git a/scripts/tests.sh b/scripts/tests.sh index 64b4121f..5d7eb0e1 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -30,27 +30,6 @@ set -e REPO_ROOT="$(dirname "$0")"/.. -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//[[:blank:]]/}" = "3" - -echo "Compiling various other contracts and libraries..." -( -cd "$REPO_ROOT"/test/compilationTests/ -for dir in * -do - if [ "$dir" != "README.md" ] - then - echo " - $dir" - cd "$dir" - ../../../build/solc/solc --optimize \ - --combined-json abi,asm,ast,bin,bin-runtime,clone-bin,compact-format,devdoc,hashes,interface,metadata,opcodes,srcmap,srcmap-runtime,userdoc \ - *.sol */*.sol > /dev/null 2>&1 - cd .. - fi -done -) - echo "Running commandline tests..." "$REPO_ROOT/test/cmdlineTests.sh" -- cgit v1.2.3