fuzz: Move deserialize tests to test/fuzz/deserialize.cpp
Summary:
This will avoid confusion when adding other tests, as test_bitcoin_fuzzy
is not a meaningful name.
Partial backport of core PR15399 (commit fabcfa5):
https://github.com/bitcoin/bitcoin/pull/15399/commits/fabcfa5f0cfe2484fe5cf5ced7cbae34a35c47c9
Depends on D4627.
Test Plan:
./configure --disable-ccache --disable-wallet --disable-bench \ --with-utils=no --with-daemon=no --with-libs=no --with-gui=no \ --with-seeder=no --enable-fuzz --with-sanitizers=fuzzer,address \ CC=clang CXX=clang++ make mkdir -p test/fuzz cp ../test/fuzz/test_runner.py test/fuzz/ ./test/fuzz/test_runner.py -l DEBUG <path_to_corpus> cmake -GNinja .. -DENABLE_SANITIZERS="address;fuzzer" ninja bitcoin-fuzzers link-fuzz-test_runner.py ./test/fuzz/test_runner.py -l DEBUG <path_to_corpus>
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D4628