Add tracing related options to conftest
This commit is contained in:
@@ -2,8 +2,19 @@ import pytest
|
||||
|
||||
|
||||
def pytest_addoption(parser):
|
||||
pass
|
||||
|
||||
parser.addoption(
|
||||
"--enabletracing",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="Run tests with instruction tracing",
|
||||
)
|
||||
|
||||
parser.addoption(
|
||||
"--enablevcdtracing",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="Run tests with vcd tracing",
|
||||
)
|
||||
|
||||
@pytest.fixture
|
||||
def options(request):
|
||||
|
||||
Reference in New Issue
Block a user