Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ else
endif
export BUILD_PATH

PYTEST ?= $(shell which py.test-3)
ifeq ($(PYTEST),)
PYTEST := $(shell which pytest)
endif
# Test with the build interpreter; an ABI-tagged _modmesh cannot load under a
# py.test-3 launcher bound to a different Python.
PYTEST ?= $(WHICH_PYTHON) -m pytest

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't realize this because I've already used python3 -m pytest to run tests.

ifneq ($(VERBOSE),)
PYTEST_OPTS ?= -v -s
else
Expand Down
Loading