Move zmq test skipping logic into individual test case.
This commit uses the new skip test funcationality added in
232b6665bc to skip the zmq tests if the
python zmq module is not available or if bitcoind has been built without
zmq support.
This removes the zmq-specific logic from test_runner.py. In general it's
better if test_runner.py has no knowledge of special cases for
individual tests and is a general purpose test runner.
# These are python files that live in the functional tests directory, but are not test scripts.
# These are python files that live in the functional tests directory, but are not test scripts.
@ -174,7 +170,6 @@ def main():
parser.add_argument('--jobs','-j',type=int,default=4,help='how many test scripts to run in parallel. Default=4.')
parser.add_argument('--jobs','-j',type=int,default=4,help='how many test scripts to run in parallel. Default=4.')
parser.add_argument('--keepcache','-k',action='store_true',help='the default behavior is to flush the cache directory on startup. --keepcache retains the cache from the previous testrun.')
parser.add_argument('--keepcache','-k',action='store_true',help='the default behavior is to flush the cache directory on startup. --keepcache retains the cache from the previous testrun.')
parser.add_argument('--quiet','-q',action='store_true',help='only print results summary and failure logs')
parser.add_argument('--quiet','-q',action='store_true',help='only print results summary and failure logs')
parser.add_argument('--nozmq',action='store_true',help='do not run the zmq tests')
args,unknown_args=parser.parse_known_args()
args,unknown_args=parser.parse_known_args()
# Create a set to store arguments and create the passon string
# Create a set to store arguments and create the passon string