diff options
author | chriseth <chris@ethereum.org> | 2017-07-13 01:06:36 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-07-14 03:47:29 +0800 |
commit | a8d78bb7675f81dd992a588582501d7db6d578d2 (patch) | |
tree | 2e6468e73cc51830328f4f323b2d84b406b0399a /scripts | |
parent | d3b447c20368dab68636e79b893547757fdab8df (diff) | |
download | dexon-solidity-a8d78bb7675f81dd992a588582501d7db6d578d2.tar.gz dexon-solidity-a8d78bb7675f81dd992a588582501d7db6d578d2.tar.zst dexon-solidity-a8d78bb7675f81dd992a588582501d7db6d578d2.zip |
Refactor compilation tests.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tests.sh | 21 |
1 files changed, 0 insertions, 21 deletions
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" |