diff options
-rw-r--r-- | docs/contributing.rst | 4 | ||||
-rwxr-xr-x | scripts/tests.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst index 47d0d070..41573ea1 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -90,7 +90,7 @@ The option ``--no-smt`` disables the tests that require ``libz3`` and ``--no-ipc`` disables those that require ``aleth``. If you want to run the ipc tests (that test the semantics of the generated code), -you need to install `aleth <https://github.com/ethereum/aleth/releases/download/v1.5.0-alpha.7/aleth-1.5.0-alpha.7-linux-x86_64.tar.gz>`_ and run it in testing mode: ``aleth --test -d /tmp/testeth`` (make sure to rename it). +you need to install `aleth <https://github.com/ethereum/aleth/releases/download/v1.5.0-alpha.7/aleth-1.5.0-alpha.7-linux-x86_64.tar.gz>`_ and run it in testing mode: ``aleth --db memorydb --test -d /tmp/testeth``. To run the actual tests, use: ``./scripts/soltest.sh --ipcpath /tmp/testeth/geth.ipc``. @@ -122,7 +122,7 @@ The CI runs additional tests (including ``solc-js`` and testing third party Soli .. note :: - You can not use some versions of ``aleth`` for testing. We suggest using + Some versions of ``aleth`` can not be used for testing. We suggest using the same version that the Solidity continuous integration tests use. Currently the CI uses version ``1.5.0-alpha.7`` of ``aleth``. diff --git a/scripts/tests.sh b/scripts/tests.sh index 1a8a32cf..8a7a2fdc 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -149,7 +149,7 @@ function download_aleth() # echos the PID function run_aleth() { - $ALETH_PATH --test -d "${WORKDIR}" >/dev/null 2>&1 & + $ALETH_PATH --db memorydb --test -d "${WORKDIR}" >/dev/null 2>&1 & echo $! # Wait until the IPC endpoint is available. while [ ! -S "${WORKDIR}/geth.ipc" ] ; do sleep 1; done |