diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-09-12 20:35:41 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-12-11 11:47:05 +0800 |
commit | 6d82ad13386493b80f303eb7dcda07095a62e1e8 (patch) | |
tree | 3d8120924b26f5a9bbcceaea1adeefc87d7a201c /scripts | |
parent | baaefb4b422fb22a89af08b79e6595e7859d2323 (diff) | |
download | dexon-solidity-6d82ad13386493b80f303eb7dcda07095a62e1e8.tar.gz dexon-solidity-6d82ad13386493b80f303eb7dcda07095a62e1e8.tar.zst dexon-solidity-6d82ad13386493b80f303eb7dcda07095a62e1e8.zip |
Test updates for recent versions of aleth.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tests.sh | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh index c284c05c..1a8a32cf 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -130,21 +130,14 @@ function download_aleth() elif [ -z $CI ]; then ALETH_PATH="aleth" else - # Any time the hash is updated here, the "Running compiler tests" section should also be updated. mkdir -p /tmp/test - if grep -i trusty /etc/lsb-release >/dev/null 2>&1 - then - # built from d661ac4fec0aeffbedcdc195f67f5ded0c798278 at 2018-06-20 - ALETH_BINARY=aleth_2018-06-20_trusty - ALETH_HASH="54b8a5455e45b295e3a962f353ff8f1580ed106c" - else - # built from d661ac4fec0aeffbedcdc195f67f5ded0c798278 at 2018-06-20 - ALETH_BINARY=aleth_2018-06-20_artful - ALETH_HASH="02e6c4b3d98299885e73f7db6c9e3fbe3d66d444" - fi - ALETH_PATH="/tmp/test/aleth" - wget -q -O $ALETH_PATH https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/$ALETH_BINARY - test "$(shasum $ALETH_PATH)" = "$ALETH_HASH $ALETH_PATH" + # Any time the hash is updated here, the "Running compiler tests" section should also be updated. + ALETH_HASH="8ce2f00539d2fd8b5f093d854c6999424f7494ff" + ALETH_VERSION=1.5.0-alpha.7 + wget -q -O /tmp/test/aleth.tar.gz https://github.com/ethereum/aleth/releases/download/v${ALETH_VERSION}/aleth-${ALETH_VERSION}-linux-x86_64.tar.gz + test "$(shasum /tmp/test/aleth.tar.gz)" = "$ALETH_HASH /tmp/test/aleth.tar.gz" + tar -xf /tmp/test/aleth.tar.gz -C /tmp/test + ALETH_PATH="/tmp/test/bin/aleth" sync chmod +x $ALETH_PATH sync # Otherwise we might get a "text file busy" error |