4 # Copyright (c) 2018 Peter Wu <peter@lekensteyn.nl>
6 # SPDX-License-Identifier: GPL-2.0-or-later
8 '''pytest configuration'''
11 def pytest_addoption(parser
):
12 parser
.addoption('--disable-capture', action
='store_true',
13 help='Disable capture tests'
15 parser
.addoption('--disable-gui', action
='store_true',
16 help='Disable GUI tests'
18 parser
.addoption('--build-type', default
='RelWithDebInfo',
19 help='CMake build type for multi-config generators.'
21 parser
.addoption('--program-path',
22 help='Path to Wireshark executables.'
24 parser
.addoption('--skip-missing-programs',
25 help='Skip tests that lack programs from this list instead of failing'
26 ' them. Use "all" to ignore all missing programs.'
28 parser
.addoption('--enable-release', action
='store_true',
29 help='Enable release tests'
32 from fixtures_ws
import *