aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-07-18 20:18:31 +0800
committerGitHub <noreply@github.com>2018-07-18 20:18:31 +0800
commit8cc675150e5e554e438ee4624a9c3429fecba784 (patch)
tree46030802d020405ae731cff1044b741dd3ababf7
parentb909df4573130e020c7f4dfb61c0571ba1bc02ab (diff)
parent4bd22399da690468b18650ab413a463e10fc3580 (diff)
downloaddexon-solidity-8cc675150e5e554e438ee4624a9c3429fecba784.tar.gz
dexon-solidity-8cc675150e5e554e438ee4624a9c3429fecba784.tar.zst
dexon-solidity-8cc675150e5e554e438ee4624a9c3429fecba784.zip
Merge pull request #4345 from ethereum/docs-tests
Document the required cpp-ethereum commit hash
-rw-r--r--docs/contributing.rst5
-rwxr-xr-xscripts/tests.sh1
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst
index ddc02883..7084d3b3 100644
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -93,6 +93,11 @@ Alternatively, there is a testing script at ``scripts/test.sh`` which executes a
Travis CI even runs some additional tests (including ``solc-js`` and testing third party Solidity frameworks) that require compiling the Emscripten target.
+.. note ::
+
+ While any version of ``cpp-ethereum`` should be usable, this cannot be guaranteed, and it is suggested to use the same version that is used by the Solidity continuous integration tests.
+ Currently the CI uses ``d661ac4fec0aeffbedcdc195f67f5ded0c798278`` of ``cpp-ethereum``.
+
Writing and running syntax tests
--------------------------------
diff --git a/scripts/tests.sh b/scripts/tests.sh
index ab9b2f76..0a1fcdac 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -76,6 +76,7 @@ function download_aleth()
elif [ -z $CI ]; then
ALETH_PATH="aleth"
else
+ # Any time the hash is updated here, the "Running compiler tests" section should also be updated.
mkdir -p /tmp/test
if grep -i trusty /etc/lsb-release >/dev/null 2>&1
then