diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-03-06 15:16:15 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-03-06 15:16:23 -0500 |
commit | df36ddf9ce8a4dcf0d7f324e57a13abb6cf6a57c (patch) | |
tree | db90cd772061bf20962a443e7b290682254bdacf /src/test/test_bitcoin.h | |
parent | 4952a953585e99477a89989b009749e40c173013 (diff) | |
parent | faa9b88199c382c04e3aaa2b63479f9066ce8f9c (diff) | |
download | bitcoin-df36ddf9ce8a4dcf0d7f324e57a13abb6cf6a57c.tar.xz |
Merge #15504: fuzz: Link BasicTestingSetup (shared with unit tests)
faa9b88199 fuzz: Link BasicTestingSetup (shared with unit tests) (MarcoFalke)
fa85468cd2 test: Move main_tests to validation_tests (MarcoFalke)
fa02b22245 test: Remove useless test_bitcoin_main.cpp (MarcoFalke)
fab2daa026 test: Add missing LIBBITCOIN_ZMQ to test_test_bitcoin_LDADD (MarcoFalke)
Pull request description:
Link against BasicTestingSetup in the fuzz tests, so we can fuzz against validation.
Also include a commit to remove test_bitcoin_main.cpp. That file may or may not overwrite globals in the link stage depending on the link order. This is confusing and useless anyway: The unit tests should never `std::exit` in the middle of the run (especially with success as exit code), since it will skip all test modules afterward.
Also include a commit to remove some unused forward declarations and move the main_tests to validation_tests, since main was long ago split into net_processing and validation.
Tree-SHA512: bdd34c87505450ec106d632f6664aadcbdac7c198172a77da55fab75b274f869ae1a8d06573ba2aff4cb186be9c7a34b7697894ab6f9c82b392f769c9135f36c
Diffstat (limited to 'src/test/test_bitcoin.h')
-rw-r--r-- | src/test/test_bitcoin.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h index 4a06845683..38c6d85a8d 100644 --- a/src/test/test_bitcoin.h +++ b/src/test/test_bitcoin.h @@ -71,10 +71,6 @@ private: /** Testing setup that configures a complete environment. * Included are data directory, coins database, script check threads setup. */ -class CConnman; -class CNode; - -class PeerLogicValidation; struct TestingSetup : public BasicTestingSetup { boost::thread_group threadGroup; CScheduler scheduler; |