1#
2# Copyright (c) 2023 intel Corporation.
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7import pytest
8
9
10def pytest_addoption(parser):
11    parser.addoption('--gdb_target_remote')
12    parser.addoption('--gdb_timeout')
13    parser.addoption('--gdb_script')
14
15
16@pytest.fixture()
17def gdb_script(request):
18    return request.config.getoption('--gdb_script')
19
20
21@pytest.fixture()
22def gdb_timeout(request):
23    return int(request.config.getoption('--gdb_timeout', default=60))
24
25
26@pytest.fixture()
27def gdb_target_remote(request):
28    return request.config.getoption('--gdb_target_remote', default=":5678")
29
30
31#
32