aboutsummaryrefslogtreecommitdiffstats
path: root/test/solcjsTests.sh
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-13 00:44:27 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-13 01:16:18 +0800
commit2084208dd3b304b14c9b4e180ea4c35fde324430 (patch)
tree2738d82fda74c3b7603d6136f6895197b0bac3bd /test/solcjsTests.sh
parentd39917fd0d80bcb711654cfd82c1dd5f04c4c7be (diff)
downloaddexon-solidity-2084208dd3b304b14c9b4e180ea4c35fde324430.tar.gz
dexon-solidity-2084208dd3b304b14c9b4e180ea4c35fde324430.tar.zst
dexon-solidity-2084208dd3b304b14c9b4e180ea4c35fde324430.zip
Ensure to always use 0.5.0 mode in solcjs tests
Diffstat (limited to 'test/solcjsTests.sh')
-rwxr-xr-xtest/solcjsTests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/solcjsTests.sh b/test/solcjsTests.sh
index 27797cb4..e0bbc5df 100755
--- a/test/solcjsTests.sh
+++ b/test/solcjsTests.sh
@@ -53,6 +53,11 @@ DIR=$(mktemp -d)
rm -f soljson.js
cp "$SOLJSON" soljson.js
+ # ensure to use always 0.5.0 sources
+ # FIXME: should be removed once the version bump in this repo is done
+ rm -rf test/DAO040
+ cp -R test/DAO test/DAO040
+
# Update version (needed for some tests)
echo "Updating package.json to version $VERSION"
npm version --no-git-tag-version $VERSION