mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
core_tests: add --filter to select which tests to run
This commit is contained in:
parent
eed4dba880
commit
639ca3b1fa
5 changed files with 29 additions and 20 deletions
|
@ -664,6 +664,7 @@ inline bool do_replay_file(const std::string& filename)
|
|||
}
|
||||
|
||||
#define GENERATE_AND_PLAY(genclass) \
|
||||
if (filter.empty() || boost::regex_match(std::string(#genclass), match, boost::regex(filter))) \
|
||||
{ \
|
||||
std::vector<test_event_entry> events; \
|
||||
++tests_count; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue