diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-14 23:42:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-14 23:42:05 +0800 |
commit | 95711bc2dd0af71c741871007cecad12be8076ad (patch) | |
tree | 1d59ced40b3823608710716edef523399336d88a /Godeps/_workspace/src/github.com/ethereum/ethash/test/go/test.sh | |
parent | 387f6bba3e221dac6f9884b3f9aba98d6b8591cf (diff) | |
download | go-tangerine-95711bc2dd0af71c741871007cecad12be8076ad.tar.gz go-tangerine-95711bc2dd0af71c741871007cecad12be8076ad.tar.zst go-tangerine-95711bc2dd0af71c741871007cecad12be8076ad.zip |
Updated ethash
Diffstat (limited to 'Godeps/_workspace/src/github.com/ethereum/ethash/test/go/test.sh')
-rw-r--r-- | Godeps/_workspace/src/github.com/ethereum/ethash/test/go/test.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/github.com/ethereum/ethash/test/go/test.sh b/Godeps/_workspace/src/github.com/ethereum/ethash/test/go/test.sh new file mode 100644 index 000000000..c6224858e --- /dev/null +++ b/Godeps/_workspace/src/github.com/ethereum/ethash/test/go/test.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +# Strict mode +set -e + +SOURCE="${BASH_SOURCE[0]}" +while [ -h "$SOURCE" ]; do + DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" + SOURCE="$(readlink "$SOURCE")" + [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" +done +TEST_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" + +export GOPATH=${HOME}/.go +export PATH=$PATH:$GOPATH/bin +echo "# getting go dependencies (can take some time)..." +cd ${TEST_DIR}/../.. && go get +cd ${GOPATH}/src/github.com/ethereum/go-ethereum +git checkout poc-9 +cd ${TEST_DIR} && go test |