mirror of
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git
synced 2026-10-25 12:39:18 +03:00
When we run the test suite by calling the __main__ function of the module, the name of the process as visible in the system becomes "python". Let's set it to "python-gpiod" before running the tests. This way gpiosim will name its configfs attributes appropriately. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
5 lines
147 B
Python
5 lines
147 B
Python
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
|
|
|
|
from ._ext import set_process_name
|