mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +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
@ -40,6 +40,15 @@ if 'ENABLE_UTILS' not in vars():
|
||||
ENABLE_UTILS=0
|
||||
if 'ENABLE_ZMQ' not in vars():
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user