diff options
author | winsvega <winsvega@mail.ru> | 2018-12-20 23:34:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 23:34:09 +0800 |
commit | 4ad2ccec67841a401b494ae19de0d4419639ee98 (patch) | |
tree | a78455573796e3e82fe98b48185dea39f702a02a | |
parent | 725dbc73a54649e22a00330bd0f4d6699a5060e5 (diff) | |
parent | 5e92d9c1d43435028ea5e20ce6b4e44b0201f326 (diff) | |
download | dexon-tests-4ad2ccec67841a401b494ae19de0d4419639ee98.tar dexon-tests-4ad2ccec67841a401b494ae19de0d4419639ee98.tar.gz dexon-tests-4ad2ccec67841a401b494ae19de0d4419639ee98.tar.bz2 dexon-tests-4ad2ccec67841a401b494ae19de0d4419639ee98.tar.lz dexon-tests-4ad2ccec67841a401b494ae19de0d4419639ee98.tar.xz dexon-tests-4ad2ccec67841a401b494ae19de0d4419639ee98.tar.zst dexon-tests-4ad2ccec67841a401b494ae19de0d4419639ee98.zip |
Merge pull request #576 from ethereum/update-docs-on-available-docker-image
Updated notes on docker image in test generation docs
-rw-r--r-- | docs/generating-tests.rst | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/docs/generating-tests.rst b/docs/generating-tests.rst index 36773f569..ab492bf14 100644 --- a/docs/generating-tests.rst +++ b/docs/generating-tests.rst @@ -33,19 +33,14 @@ Preparing testeth and LLL For generating consensus tests, an executable ``testeth`` is necessary. Moreover, ``testeth`` uses the LLL compiler when it generates consensus tests. -Option 1: Using a docker image ------------------------------- - -.. note:: Docker images are currently outdated, please go for option 2. - -There is one `docker image <https://hub.docker.com/r/holiman/testeth/>`_ provided by holiman_ and another `image <https://hub.docker.com/r/winsvega/testeth/>`_ provided by winsvega_. +Option 1: Using the docker image +-------------------------------- -.. _holiman: https://github.com/holiman -.. _winsvega: https://github.com/winsvega +There is a `docker image <https://hub.docker.com/r/ethereum/testeth/>`_ available containing the `testeth` tool from the `aleth` toolset regularly updated and specifically build for the purpose of test creation. * `Install Docker`_ -* Pull the ``testeth`` repository with ``docker pull holiman/testeth`` -* ``docker run -v <LOCAL_PATH_TO_ETH_TESTS>:/foobar holiman/testeth -t GeneralStateTests/stCallCodes -- --singletest callcall_00 --singlenet EIP150 -d 0 -g 0 -v 0 --statediff --verbosity 5 --testpath /foobar`` should show something like +* Pull the ``testeth`` repository with ``docker pull ethereum/testeth:nightly`` (or an alternative available tag) +* ``docker run -v <LOCAL_PATH_TO_ETH_TESTS>:/foobar ethereum/testeth:nightly -t GeneralStateTests/stCallCodes -- --singletest callcall_00 --singlenet Byzantium -d 0 -g 0 -v 0 --statediff --verbosity 5 --testpath /foobar`` should show something like .. code:: |