Browse files

Merge #7635: [Documentation] Add dependency info to test docs

2ab835a Check if zmq is installed in tests, update docs (Elliot Olds)
  • Loading branch information...
laanwj committed Mar 11, 2016
2 parents 86a1ec5 + 2ab835a commit 0fa88ef784dda77422fdb20b7358803f9b30a5c1
Showing with 22 additions and 2 deletions.
  1. +2 −2
  2. +11 −0 qa/
  3. +9 −0 qa/pull-tester/
@@ -55,10 +55,10 @@ submit new unit tests for old code. Unit tests can be compiled and run
There are also [regression and integration tests](/qa) of the RPC interface, written
in Python, that are run automatically on the build server.
These tests can be run with: `qa/pull-tester/`
These tests can be run (if the [test dependencies](/qa) are installed) with: `qa/pull-tester/`
The Travis CI system makes sure that every pull request is built for Windows
and Linux, OSX, and that unit and sanity tests are automatically run.
and Linux, OS X, and that unit and sanity tests are automatically run.
### Manual Quality Assurance (QA) Testing
@@ -5,6 +5,17 @@ Every pull request to the bitcoin repository is built and run through
the regression test suite. You can also run all or only individual
tests locally.
Test dependencies
Before running the tests, the following must be installed.
The python-zmq library is required. On Ubuntu or Debian it can be installed via:
sudo apt-get install python-zmq
Running tests
@@ -40,6 +40,15 @@
if not vars().has_key('ENABLE_ZMQ'):
# python-zmq may not be installed. Handle this gracefully and with some helpful info
import zmq
except ImportError:
print("WARNING: \"import zmq\" failed. Setting ENABLE_ZMQ=0. " \
"To run zmq tests, see dependency info in /qa/")

0 comments on commit 0fa88ef

Please sign in to comment.