Port the following changes from Bitcoin Core
commit ca209230c8e73745cf8cfc79f500c9c46e103306
Merge: a230b0588 0c1ade6a4
Author: MarcoFalke <falke.marco@gmail.com>
Date: Fri Mar 24 13:57:36 2017 +0100
Merge #10053: [test] Allow functional test cases to be skipped
0c1ade6 Skip rpcbind_test if OS/network requirements are not met. (John Newbery)
232b666 Allow test cases to be skipped (John Newbery)
Tree-SHA512: d90c956ba6e27e53f422cba6267bdcc60faef9370a7e66b7f6480137f84d9a813442ac477b20fbbc540be2b4636928be910c46e221570ab3b9a5b9f0f11f7fc8