mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-29 20:47:31 -03:00
152e51c7af
This change moves test data into the binaries rather than reading them from the disk at runtime. Advantages: - Tests become distributable - Cross-compile friendly. Build on one machine and execute in an arbitrary location on another. - Easier testing for backports. Users can verify that tests pass without having to track down corresponding test data. - More trustworthy test results and easier quality assurance as tests make fewer assumptions about their environment. - Tests could theoretically run at client/daemon startup and exit on failure. Disadvantages: - Required 'hexdump' build-dependency. This is a standard bsd tool that should be usable everywhere. It is likely already installed on all build-machines. - Tests can no longer be fudged after build by altering test-data. |
||
---|---|---|
.. | ||
alertTests.raw | ||
base58_encode_decode.json | ||
base58_keys_invalid.json | ||
base58_keys_valid.json | ||
script_invalid.json | ||
script_valid.json | ||
sig_canonical.json | ||
sig_noncanonical.json | ||
tx_invalid.json | ||
tx_valid.json |