diff options
author | Simon McVittie <smcv@debian.org> | 2016-11-29 10:16:30 +0000 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2016-11-29 11:13:33 +0000 |
commit | 3e659884a2f6079bd72929181e7bddf7d2b5da1d (patch) | |
tree | dff215cdf78db41da87cb3cfdb5b1dbf6072ab24 /Makefile.am | |
parent | 21c67366b4933be6542e5b5315460e5deb083b70 (diff) | |
download | bubblewrap-3e659884a2f6079bd72929181e7bddf7d2b5da1d.tar.gz |
Adapt tests so they can be run against installed binaries
Look for bwrap on PATH by default, but allow it to be overridden with
BWRAP, and set that variable in TESTS_ENVIRONMENT so we are testing
the just-built version in "make check".
Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #120
Approved by: alexlarsson
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index b20e866..f080fb1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -30,7 +30,7 @@ test_bwrap_SOURCES= include Makefile-docs.am TESTS = tests/test-basic.sh tests/test-run.sh -TESTS_ENVIRONMENT = PATH=$$(cd $(top_builddir) && pwd):$${PATH} +TESTS_ENVIRONMENT = BWRAP=$(abs_top_builddir)/test-bwrap EXTRA_DIST += $(TESTS) |