mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
tests: add a BasicTestingSetup and apply to all tests
Make sure that chainparams and logging is properly initialized. Doing this for every test may be overkill, but this initialization is so simple that that does not matter. This should fix the travis issues.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "script/interpreter.h"
|
||||
#include "script/sign.h"
|
||||
#include "uint256.h"
|
||||
#include "test/test_bitcoin.h"
|
||||
|
||||
#ifdef ENABLE_WALLET
|
||||
#include "wallet_ismine.h"
|
||||
@@ -22,7 +23,7 @@ using namespace std;
|
||||
|
||||
typedef vector<unsigned char> valtype;
|
||||
|
||||
BOOST_AUTO_TEST_SUITE(multisig_tests)
|
||||
BOOST_FIXTURE_TEST_SUITE(multisig_tests, BasicTestingSetup)
|
||||
|
||||
CScript
|
||||
sign_multisig(CScript scriptPubKey, vector<CKey> keys, CTransaction transaction, int whichIn)
|
||||
|
||||
Reference in New Issue
Block a user