1
0
Fork 0

Use python -m to run pytest

Not every distro calls it `pytest-3`.
By using `$(PYTHON) -m` we ensure it's coherent with the python install

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
This commit is contained in:
Francesco Gazzetta 2023-04-21 11:44:39 +00:00 committed by Daniel Thompson
parent f288f441c7
commit a0a36e9225

View file

@ -1,7 +1,7 @@
export PYTHONPATH := $(CURDIR)/tools/nrfutil:$(CURDIR)/tools/intelhex:$(PYTHONPATH)
PYTHON ?= python3
PYTEST ?= pytest-3
PYTEST ?= $(PYTHON) -m pytest
all : bootloader reloader micropython