diff options
author | chriseth <chris@ethereum.org> | 2017-04-26 20:29:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 20:29:54 +0800 |
commit | 3cbdf6d490c6871d58f12f877cdc84111a7325c1 (patch) | |
tree | 10c53b37db2275d9b6b220bb572ceca777e20297 /scripts/tests.sh | |
parent | c3b839ca751bd11a5881fea1db1cfa92ec468d16 (diff) | |
parent | efa9c7626718023083489aebee9a1662c5f24ab5 (diff) | |
download | dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar.gz dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar.bz2 dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar.lz dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar.xz dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar.zst dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.zip |
Merge pull request #1577 from ethereum/gas_table
Gas table update
Diffstat (limited to 'scripts/tests.sh')
-rwxr-xr-x | scripts/tests.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh index d47edd28..6b76c154 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -42,8 +42,16 @@ test "${output//[[:blank:]]/}" = "3" # instead. This will go away soon. if [[ "$OSTYPE" == "darwin"* ]]; then ETH_PATH="$REPO_ROOT/eth" -else +elif [ -z $CI ]; then ETH_PATH="eth" +else + mkdir -p /tmp/test + wget -O /tmp/test/eth https://github.com/ethereum/cpp-ethereum/releases/download/solidityTester/eth + test "$(shasum /tmp/test/eth)" = "c132e8989229e4840831a4fb1a1d058b732a11d5 /tmp/test/eth" + sync + chmod +x /tmp/test/eth + sync # Otherwise we might get a "text file busy" error + ETH_PATH="/tmp/test/eth" fi # This trailing ampersand directs the shell to run the command in the background, |