build: Set TMPDIR for local testing.

This avoids conflicts with the globally installed libguestfs
appliance, or lets us build in multiple local directories at the same
time without conflicts.
This commit is contained in:
Richard W.M. Jones
2011-08-08 12:41:54 +01:00
parent 54ea124b16
commit f7d18c84dd
18 changed files with 44 additions and 17 deletions

View File

@@ -30,6 +30,7 @@ if HAVE_HASKELL
TESTS_ENVIRONMENT = \
LD_LIBRARY_PATH=$(top_builddir)/src/.libs \
LIBGUESTFS_PATH=$(top_builddir)/appliance \
TMPDIR=$(top_builddir) \
$(VG)
TESTS = run-bindtests Guestfs005Load Guestfs010Basic