From 35d64c1fdefc3f5142b3b66ee1492903b9d28567 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 31 Jan 2018 15:31:51 +0000 Subject: [PATCH] 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. --- src/test/sighash_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/sighash_tests.cpp b/src/test/sighash_tests.cpp index 989ed7428..c33eab17e 100644 --- a/src/test/sighash_tests.cpp +++ b/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) {