diff options
author | chriseth <chris@ethereum.org> | 2018-12-13 01:41:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13 01:41:35 +0800 |
commit | 17bf164afeb067d3570f0d253f059be6fb3aac4b (patch) | |
tree | b16b078a99ef5567f0781944c1e7e8463b49b2df /scripts | |
parent | 1c8c8734654a4bea8270beff7e1a295323002af3 (diff) | |
parent | 123d33ad41b1dea43d7b6aee4b31bc6cf373bf4a (diff) | |
download | dexon-solidity-17bf164afeb067d3570f0d253f059be6fb3aac4b.tar dexon-solidity-17bf164afeb067d3570f0d253f059be6fb3aac4b.tar.gz dexon-solidity-17bf164afeb067d3570f0d253f059be6fb3aac4b.tar.bz2 dexon-solidity-17bf164afeb067d3570f0d253f059be6fb3aac4b.tar.lz dexon-solidity-17bf164afeb067d3570f0d253f059be6fb3aac4b.tar.xz dexon-solidity-17bf164afeb067d3570f0d253f059be6fb3aac4b.tar.zst dexon-solidity-17bf164afeb067d3570f0d253f059be6fb3aac4b.zip |
Merge pull request #4951 from ethereum/alethUpdates
Use current aleth release for testing.
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 |