From: Jiri Denemark Date: Tue, 5 Feb 2013 19:29:57 +0000 (+0100) Subject: sanitytest.py: Do not rely on system libvirt X-Git-Tag: v1.0.3-rc1~210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90873ab968c358aef9fe0c9e91d061d4b50978a4;p=thirdparty%2Flibvirt.git 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. --- diff --git a/python/Makefile.am b/python/Makefile.am index ef3c3eba62..55c5e41a48 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -122,7 +122,7 @@ $(libvirtmod_lxc_la_OBJECTS): $(LXC_GENERATED) EXTRA_DIST += sanitytest.py 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: $(mkinstalldirs) $(DESTDIR)$(pyexecdir)