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:
parent
f288f441c7
commit
a0a36e9225
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue