3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-04 18:30:25 +00:00

tests/functional: Auto parallelize

Use the unique cell name (cell type + parameters) for the vcd filename to avoid collisions when converting to fst.
This commit is contained in:
Krystine Sherwin 2025-07-07 10:38:32 +12:00
parent a1d68fe3bc
commit 3c54d8aef7
No known key found for this signature in database
4 changed files with 11 additions and 10 deletions

View file

@ -31,4 +31,4 @@ def pytest_generate_tests(metafunc):
seed1 = metafunc.config.getoption("seed")
rnd = lambda seed2: random.Random('{}-{}'.format(seed1, seed2))
names, cases = generate_test_cases(per_cell, rnd)
metafunc.parametrize("cell,parameters", cases, ids=names)
metafunc.parametrize("name,cell,parameters", cases, ids=names)