aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tests.sh
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-19 00:52:01 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:47:44 +0800
commitcdc64e3cbb23fc6b5fc7792966b2491d308175a3 (patch)
treee7b395dc1b594cee83777857adee91a0f59e9efa /scripts/tests.sh
parent38211fdc255a7a8cc55a6af18a47c8dd04ddd8a9 (diff)
downloaddexon-solidity-cdc64e3cbb23fc6b5fc7792966b2491d308175a3.tar.gz
dexon-solidity-cdc64e3cbb23fc6b5fc7792966b2491d308175a3.tar.zst
dexon-solidity-cdc64e3cbb23fc6b5fc7792966b2491d308175a3.zip
Use fixed binary for eth.
Diffstat (limited to 'scripts/tests.sh')
-rwxr-xr-xscripts/tests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index ff1229da..6a16a40a 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -46,7 +46,10 @@ elif [ -z $CI ]; then
ETH_PATH="eth"
else
mkdir -p /tmp/test
- ETH_PATH="docker run --rm -v /tmp/test:/tmp/test -e HOME=/tmp/test/ --user $(id -u):$(id -g) ethereum/client-cpp"
+ wget -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/eth
+ test "$(shasum /tmp/test/eth)" = "52ca66b90aae9886576f3cabe5ef232a36f9b6a4 /tmp/test/eth"
+ chmod +x /tmp/test/eth
+ ETH_PATH="/tmp/test/eth"
fi
# This trailing ampersand directs the shell to run the command in the background,