summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-04-11 17:24:55 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-04-11 22:48:45 +0100
commit711c00d0bdcb2b2dbafc387198ca4901d2414ed3 (patch)
treefecc9da9c54eee194a3f9ed68950e5597b39958d /python
parent0eacca5a694d2d40ef42b5ebd23b8697fb797c49 (diff)
downloadlibguestfs-711c00d0bdcb2b2dbafc387198ca4901d2414ed3.tar.gz
libguestfs-711c00d0bdcb2b2dbafc387198ca4901d2414ed3.tar.xz
libguestfs-711c00d0bdcb2b2dbafc387198ca4901d2414ed3.zip
python: Add PYTHONPATH to './run' script.
Also: - tidy up the script - use the ./run script when running Python tests (cherry picked from commit f237ae2ad61ad583e5eacf5759b25c32bb7538a1)
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index 2731a432..5931e2e4 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -46,10 +46,8 @@ libguestfsmod_la_LIBADD = $(top_builddir)/src/libguestfs.la
libguestfsmod_la_LDFLAGS = -avoid-version -shared
TESTS_ENVIRONMENT = \
- LIBGUESTFS_PATH=$(top_builddir)/appliance \
- PYTHONPATH=$(builddir):$(builddir)/.libs \
- TMPDIR=$(top_builddir) \
- PYTHON=$(PYTHON)
+ PYTHON=$(PYTHON) \
+ $(top_builddir)/run
TESTS = run-bindtests