evmone
evmone copied to clipboard
statetest: Load tests from multiple dirs / files
Currently the evmone-statetest
tool takes one argument and loads JSON tests from the dir specified by this argument.
Add support for loading tests from multiple dirs (multiple args).
Also handle the case when the argument points to a file not a dir (useful for fuzzing tools or just executing single test).
Test names are created from the file test path as a relative path to the dir root. Having mutiple dirs/files we probably should first find the common root of these and then create test names from relative path to the common root.
Start with statetests_multiple_dirs
branch.