mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 20:54:24 -04:00
core_tests: add tests for hard fork behaviors (MRL-0004)
We also replace the --fakechain option with an optional structure containing details about configuration for the core/blockchain, for test purposes. This seems more future friendly.
This commit is contained in:
parent
945fe90e08
commit
a333c42cde
10 changed files with 48 additions and 25 deletions
|
@ -168,6 +168,13 @@ int main(int argc, char* argv[])
|
|||
|
||||
GENERATE_AND_PLAY(gen_block_reward);
|
||||
|
||||
GENERATE_AND_PLAY(gen_v2_tx_mixable_0_mixin);
|
||||
GENERATE_AND_PLAY(gen_v2_tx_mixable_low_mixin);
|
||||
GENERATE_AND_PLAY(gen_v2_tx_unmixable_only);
|
||||
GENERATE_AND_PLAY(gen_v2_tx_unmixable_one);
|
||||
GENERATE_AND_PLAY(gen_v2_tx_unmixable_two);
|
||||
GENERATE_AND_PLAY(gen_v2_tx_dust);
|
||||
|
||||
std::cout << (failed_tests.empty() ? concolor::green : concolor::magenta);
|
||||
std::cout << "\nREPORT:\n";
|
||||
std::cout << " Test run: " << tests_count << '\n';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue