Browse Source

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.
pull/4/head
Jack Grigg 6 years ago
parent
commit
35d64c1fde
No known key found for this signature in database GPG Key ID: 665DBCD284F7DAFF
  1. 2
      src/test/sighash_tests.cpp

2
src/test/sighash_tests.cpp

@ -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)
{

Loading…
Cancel
Save