summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorJiri Denemark <jdenemar@redhat.com>2013-02-05 20:29:57 +0100
committerJiri Denemark <jdenemar@redhat.com>2013-02-05 21:01:15 +0100
commit901bce913383b7b5818cf4b92aab27a3b7ab47a3 (patch)
tree6acbdf603c7ff2551489ece34a1283655f9cbbd1 /Makefile.am
parent0f102b90f12f59e3a858c7b3d3bd867144f88424 (diff)
downloadlibvirt-python-v6-901bce913383b7b5818cf4b92aab27a3b7ab47a3.tar.gz
libvirt-python-v6-901bce913383b7b5818cf4b92aab27a3b7ab47a3.tar.xz
libvirt-python-v6-901bce913383b7b5818cf4b92aab27a3b7ab47a3.zip
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ef3c3eb..55c5e41 100644
--- a/Makefile.am
+++ b/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)