diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /test/conftest.py | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/conftest.py')
-rw-r--r-- | test/conftest.py | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/conftest.py b/test/conftest.py new file mode 100644 index 00000000..8f6eda57 --- /dev/null +++ b/test/conftest.py @@ -0,0 +1,33 @@ +# +# Wireshark tests +# +# Copyright (c) 2018 Peter Wu <peter@lekensteyn.nl> +# +# SPDX-License-Identifier: GPL-2.0-or-later +# +'''pytest configuration''' + + +def pytest_addoption(parser): + parser.addoption('--disable-capture', action='store_true', + help='Disable capture tests' + ) + parser.addoption('--disable-gui', action='store_true', + help='Disable GUI tests' + ) + parser.addoption('--build-type', default='RelWithDebInfo', + help='CMake build type for multi-config generators.' + ) + parser.addoption('--program-path', + help='Path to Wireshark executables.' + ) + parser.addoption('--skip-missing-programs', + help='Skip tests that lack programs from this list instead of failing' + ' them. Use "all" to ignore all missing programs.' + ) + parser.addoption('--enable-release', action='store_true', + help='Enable release tests' + ) + +from fixtures_ws import * + |