mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-07-26 07:41:51 +03:00
sanitytest.py: Do not rely on system libvirt
When running sanitytest.py we should not rely on libvirt library installed on the system. And since we generate a nice wrapper called "run" that sets both PYTHON_PATH and LD_LIBRARY_PATH, we should just use it rather than trying to duplicate it in the Makefile.
This commit is contained in:
@ -122,7 +122,7 @@ $(libvirtmod_lxc_la_OBJECTS): $(LXC_GENERATED)
|
|||||||
EXTRA_DIST += sanitytest.py
|
EXTRA_DIST += sanitytest.py
|
||||||
|
|
||||||
check-local:
|
check-local:
|
||||||
$(AM_V_GEN)PYTHONPATH=$(abs_topbuilddir):$(abs_topbuilddir)/.libs $(PYTHON) $(srcdir)/sanitytest.py
|
$(AM_V_GEN)../run $(PYTHON) $(srcdir)/sanitytest.py
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)
|
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)
|
||||||
|
Reference in New Issue
Block a user