diff options
| author | MarcoFalke <[email protected]> | 2019-03-06 15:16:15 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-03-06 15:16:23 -0500 |
| commit | df36ddf9ce8a4dcf0d7f324e57a13abb6cf6a57c (patch) | |
| tree | db90cd772061bf20962a443e7b290682254bdacf /src/test/fuzz | |
| parent | Merge #15534: [test] lint-format-strings: open files sequentially (fix for OS X) (diff) | |
| parent | fuzz: Link BasicTestingSetup (shared with unit tests) (diff) | |
| download | discoin-df36ddf9ce8a4dcf0d7f324e57a13abb6cf6a57c.tar.xz discoin-df36ddf9ce8a4dcf0d7f324e57a13abb6cf6a57c.zip | |
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/fuzz')
| -rw-r--r-- | src/test/fuzz/fuzz.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/fuzz/fuzz.h b/src/test/fuzz/fuzz.h index ad62a5faf..8b03a7e46 100644 --- a/src/test/fuzz/fuzz.h +++ b/src/test/fuzz/fuzz.h @@ -10,8 +10,6 @@ #include <vector> -const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr; - void test_one_input(std::vector<uint8_t> buffer); #endif // BITCOIN_TEST_FUZZ_FUZZ_H |