zephyr/tests/subsys/logging/dictionary/pytest/conftest.py
Daniel Leung 9a08fdc1df tests: logging/dictionary: enable pytest to test output
Add pytest to test the output of dictionary logging to make sure
the encoded logs can be decoded back into strings, and to also
make sure the decoded logs have the expected strings.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-06-28 21:14:14 +02:00

15 lines
272 B
Python

#
# Copyright (c) 2024 Intel Corporation.
#
# SPDX-License-Identifier: Apache-2.0
#
import pytest
def pytest_addoption(parser):
parser.addoption('--fpu', action="store_true")
@pytest.fixture()
def is_fpu_build(request):
return request.config.getoption('--fpu')