You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
438 B
19 lines
438 B
# Copyright (c) 2025 Nordic Semiconductor ASA |
|
# |
|
# SPDX-License-Identifier: Apache-2.0 |
|
|
|
import os |
|
import sys |
|
|
|
# Add the directory to PYTHONPATH |
|
zephyr_base = os.getenv("ZEPHYR_BASE") |
|
if zephyr_base: |
|
sys.path.insert( |
|
0, os.path.join(zephyr_base, "scripts", "pylib", "pytest-twister-harness", "src") |
|
) |
|
else: |
|
raise OSError("ZEPHYR_BASE environment variable is not set") |
|
|
|
pytest_plugins = [ |
|
"twister_harness.plugin", |
|
]
|
|
|