Auto merge of #2923 - str4d:sighash-tests-env-bug, r=str4d
Use JoinSplitTestingSetup for Boost sighash tests Symptom: When running all tests, the test suite passed. But when running the sighash tests on their own, the test suite segfaulted. Cause: The sighash tests depend on the proving parameters being accessible, but BasicTestingSetup doesn't load them.
This commit is contained in:
@@ -152,7 +152,7 @@ void static RandomTransaction(CMutableTransaction &tx, bool fSingle) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_FIXTURE_TEST_SUITE(sighash_tests, BasicTestingSetup)
|
BOOST_FIXTURE_TEST_SUITE(sighash_tests, JoinSplitTestingSetup)
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(sighash_test)
|
BOOST_AUTO_TEST_CASE(sighash_test)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user