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 17:27:25 +0100
commitf237ae2ad61ad583e5eacf5759b25c32bb7538a1 (patch)
treedf954aa66a6d33d324f4ea306420a6527d98d23b /python
parent4ee518508fcc084f6d34c1c213b73a3abf13ddac (diff)
downloadlibguestfs-f237ae2ad61ad583e5eacf5759b25c32bb7538a1.tar.gz
libguestfs-f237ae2ad61ad583e5eacf5759b25c32bb7538a1.tar.xz
libguestfs-f237ae2ad61ad583e5eacf5759b25c32bb7538a1.zip
python: Add PYTHONPATH to './run' script.
Also: - tidy up the script - use the ./run script when running Python tests
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