diff options
author | chriseth <chris@ethereum.org> | 2019-01-22 19:44:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-22 19:44:31 +0800 |
commit | fd3bdcb747fcbd5a7493da958ec56c8b0916bde3 (patch) | |
tree | 84e7c1986dd02f1252f3820b372fc3ebb06e663b | |
parent | d87d9a267eb9aff212dae9ee173c26a122b2167a (diff) | |
parent | faa66983aeeac03c63cc1c0871d258370279dc29 (diff) | |
download | dexon-solidity-fd3bdcb747fcbd5a7493da958ec56c8b0916bde3.tar dexon-solidity-fd3bdcb747fcbd5a7493da958ec56c8b0916bde3.tar.gz dexon-solidity-fd3bdcb747fcbd5a7493da958ec56c8b0916bde3.tar.bz2 dexon-solidity-fd3bdcb747fcbd5a7493da958ec56c8b0916bde3.tar.lz dexon-solidity-fd3bdcb747fcbd5a7493da958ec56c8b0916bde3.tar.xz dexon-solidity-fd3bdcb747fcbd5a7493da958ec56c8b0916bde3.tar.zst dexon-solidity-fd3bdcb747fcbd5a7493da958ec56c8b0916bde3.zip |
Merge pull request #5833 from ethereum/use050external
Use v0.5.0 tag of solc-js repository for external tests.
-rwxr-xr-x | test/externalTests.sh | 4 | ||||
-rwxr-xr-x | test/solcjsTests.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/externalTests.sh b/test/externalTests.sh index 16f9e55a..126b13b5 100755 --- a/test/externalTests.sh +++ b/test/externalTests.sh @@ -55,13 +55,13 @@ function test_truffle cd "$DIR" echo "Current commit hash: `git rev-parse HEAD`" npm install - # Replace solc package by master + # Replace solc package by v0.5.0 for d in node_modules node_modules/truffle/node_modules do ( cd $d rm -rf solc - git clone --depth 1 https://github.com/ethereum/solc-js.git solc + git clone --depth 1 -b v0.5.0 https://github.com/ethereum/solc-js.git solc cp "$SOLJSON" solc/ ) done diff --git a/test/solcjsTests.sh b/test/solcjsTests.sh index b9224862..ab263178 100755 --- a/test/solcjsTests.sh +++ b/test/solcjsTests.sh @@ -39,8 +39,8 @@ VERSION="$2" DIR=$(mktemp -d) ( - echo "Preparing solc-js..." - git clone --depth 1 https://github.com/ethereum/solc-js "$DIR" + echo "Preparing solc-js (0.5.0)..." + git clone --depth 1 --branch v0.5.0 https://github.com/ethereum/solc-js "$DIR" cd "$DIR" # disable "prepublish" script which downloads the latest version # (we will replace it anyway and it is often incorrectly cached |