diff --git a/python/Makefile.am b/python/Makefile.am index 6cefb6352b..ab15edc8a2 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -1,20 +1,20 @@ # # Copyright 2023 the Pacemaker project contributors # # The version control history for this file may have further details. # # This source code is licensed under the GNU General Public License version 2 # or later (GPLv2+) WITHOUT ANY WARRANTY. # MAINTAINERCLEANFILES = Makefile.in EXTRA_DIST = pylintrc SUBDIRS = pacemaker tests check-local: - $(PYTHON) -m unittest discover -v -s tests + PYTHONPATH=$(top_srcdir)/python:$(top_builddir)/python $(PYTHON) -m unittest discover -v -s $(top_srcdir)/python/tests $(top_builddir)/python/tests pylint: pylint $(SUBDIRS)