Add tracing related options to conftest

This commit is contained in:
xross
2022-08-03 15:12:12 +01:00
parent 2b679d1572
commit 43c561c831

View File

@@ -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):