From 43c561c831321b679becfd0489fb51ee0c404428 Mon Sep 17 00:00:00 2001 From: xross Date: Wed, 3 Aug 2022 15:12:12 +0100 Subject: [PATCH] Add tracing related options to conftest --- tests/conftest.py | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 3bd56ac4..f9127440 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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):