diff options
Diffstat (limited to 'docs/contributing.rst')
-rw-r--r-- | docs/contributing.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst index 111fb932..42204d5c 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -59,3 +59,18 @@ for this project. Also, even though we do CI testing, please test your code and ensure that it builds locally before submitting a pull request. Thank you for your help! + +Running the compiler tests +========================== + +Solidity includes different types of tests. They are included in the application +called ``soltest``. Some of them require the ``cpp-ethereum`` client in testing mode. + +To run ``cpp-ethereum`` in testing mode: ``eth --test -d /tmp/testeth``. + +To run the tests: ``soltest -- --ipcpath /tmp/testeth/geth.ipc``. + +To run a subset of tests, filters can be used: +``soltest -t TestSuite/TestName -- --ipcpath /tmp/testeth/geth.ipc``, where ``TestName`` can be a wildcard ``*``. + +Alternatively, there is a testing script at ``scripts/test.sh`` which executes all tests. |