aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/tests.sh
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-02-08 20:56:23 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:47:43 +0800
commit1caf1f0b8d4b84881a1fb9a2684b5978825b3e08 (patch)
treeeb24585bae1330aa92b448bd07ef744105467a61 /scripts/tests.sh
parent362813f0d6a0a8e548a626f2383121301b582a78 (diff)
downloaddexon-solidity-1caf1f0b8d4b84881a1fb9a2684b5978825b3e08.tar.gz
dexon-solidity-1caf1f0b8d4b84881a1fb9a2684b5978825b3e08.tar.zst
dexon-solidity-1caf1f0b8d4b84881a1fb9a2684b5978825b3e08.zip
Test using eth from docker.
Diffstat (limited to 'scripts/tests.sh')
-rwxr-xr-xscripts/tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index d47edd28..34d71bd2 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -43,7 +43,8 @@ test "${output//[[:blank:]]/}" = "3"
if [[ "$OSTYPE" == "darwin"* ]]; then
ETH_PATH="$REPO_ROOT/eth"
else
- ETH_PATH="eth"
+ 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"
fi
# This trailing ampersand directs the shell to run the command in the background,