From cdc64e3cbb23fc6b5fc7792966b2491d308175a3 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 18 Apr 2017 18:52:01 +0200 Subject: Use fixed binary for eth. --- scripts/tests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/tests.sh') 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, -- cgit