evmone icon indicating copy to clipboard operation
evmone copied to clipboard

statetest: Load tests from multiple dirs / files

Open chfast opened this issue 2 years ago • 0 comments

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.

chfast avatar Sep 30 '22 13:09 chfast