forked from lthn/blockchain
coretests: minor fix for counting unique tests
This commit is contained in:
parent
ed9741e3cd
commit
6cab1f2e9a
1 changed files with 2 additions and 2 deletions
|
|
@ -390,6 +390,7 @@ bool gen_and_play_intermitted_by_blockchain_saveload(const char* const genclass_
|
|||
{ \
|
||||
TIME_MEASURE_START_MS(t); \
|
||||
++tests_count; \
|
||||
++unique_tests_count; \
|
||||
if (!generate_and_play<genclass>(#genclass)) \
|
||||
{ \
|
||||
failed_tests.insert(#genclass); \
|
||||
|
|
@ -407,6 +408,7 @@ bool gen_and_play_intermitted_by_blockchain_saveload(const char* const genclass_
|
|||
const char* testname = #genclass " (BC saveload)"; \
|
||||
TIME_MEASURE_START_MS(t); \
|
||||
++tests_count; \
|
||||
++unique_tests_count; \
|
||||
if (!gen_and_play_intermitted_by_blockchain_saveload<genclass>(testname)) \
|
||||
{ \
|
||||
failed_tests.insert(testname); \
|
||||
|
|
@ -418,8 +420,6 @@ bool gen_and_play_intermitted_by_blockchain_saveload(const char* const genclass_
|
|||
tests_running_time.push_back(std::make_pair(testname, t)); \
|
||||
}
|
||||
|
||||
|
||||
|
||||
#define GENERATE_AND_PLAY_HF(genclass, hardfork_str_mask) \
|
||||
if((!postponed_tests.count(#genclass) && run_single_test.empty()) || (!run_single_test.empty() && std::string::npos != std::string(#genclass).find(run_single_test))) \
|
||||
{ \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue