From a0a36e9225e30018d3530fa5dc021b7edcbf87ca Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Fri, 21 Apr 2023 11:44:39 +0000 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d1bc21a..9bcd693 100644 --- a/Makefile +++ b/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