aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2019-01-22 06:33:41 +0800
committerchriseth <chris@ethereum.org>2019-01-22 17:03:35 +0800
commitfaa66983aeeac03c63cc1c0871d258370279dc29 (patch)
tree20f6d2301c000b8877cf340938a681d516843090 /test
parentf33b81676f9d97b6dc0fa30804cb06f850bccd34 (diff)
downloaddexon-solidity-faa66983aeeac03c63cc1c0871d258370279dc29.tar.gz
dexon-solidity-faa66983aeeac03c63cc1c0871d258370279dc29.tar.zst
dexon-solidity-faa66983aeeac03c63cc1c0871d258370279dc29.zip
Use v0.5.0 tag of solc-js repository for external tests.
Diffstat (limited to 'test')
-rwxr-xr-xtest/externalTests.sh4
-rwxr-xr-xtest/solcjsTests.sh4
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