Skip to content

Commit 644e11f

Browse files
committed
build-sys: make sure we use modules from the build dir
When running form the top source directory, sometimes modules from systemd/ and not build/*/systemd/ were loaded.
1 parent 94ee7ed commit 644e11f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ sphinx-%: build
3636
@echo Output has been generated in build/docs
3737

3838
check: build
39-
$(PYTHON) -m py.test $(builddir) docs $(TESTFLAGS)
39+
(cd $(builddir) && $(PYTHON) -m py.test . ../../docs $(TESTFLAGS))
4040

4141
TAGS: $(shell git ls-files systemd/*.[ch])
4242
$(ETAGS) $+

0 commit comments

Comments
 (0)