mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Merge #7635: [Documentation] Add dependency info to test docs
2ab835a
Check if zmq is installed in tests, update docs (Elliot Olds)
This commit is contained in:
parent
51c6ab20f3
commit
f1e95e3584
@ -41,6 +41,15 @@ if 'ENABLE_UTILS' not in vars():
|
|||||||
if 'ENABLE_ZMQ' not in vars():
|
if 'ENABLE_ZMQ' not in vars():
|
||||||
ENABLE_ZMQ=0
|
ENABLE_ZMQ=0
|
||||||
|
|
||||||
|
# python-zmq may not be installed. Handle this gracefully and with some helpful info
|
||||||
|
if ENABLE_ZMQ:
|
||||||
|
try:
|
||||||
|
import zmq
|
||||||
|
except ImportError:
|
||||||
|
print("WARNING: \"import zmq\" failed. Setting ENABLE_ZMQ=0. " \
|
||||||
|
"To run zmq tests, see dependency info in /qa/README.md.")
|
||||||
|
ENABLE_ZMQ=0
|
||||||
|
|
||||||
ENABLE_COVERAGE=0
|
ENABLE_COVERAGE=0
|
||||||
|
|
||||||
#Create a set to store arguments and create the passOn string
|
#Create a set to store arguments and create the passOn string
|
||||||
|
Loading…
Reference in New Issue
Block a user