summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-06-26 22:47:35 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-06-26 23:34:30 +0100
commit05d4e07918bfa9907a1fa66391e8e2e2370c64d4 (patch)
tree7e18079fefdf927b56715f24e0080c2a65a70840 /python
parentbbb7d75c91450ab029edb794b0486eeb8220e4fd (diff)
downloadlibguestfs-05d4e07918bfa9907a1fa66391e8e2e2370c64d4.tar.gz
libguestfs-05d4e07918bfa9907a1fa66391e8e2e2370c64d4.tar.xz
libguestfs-05d4e07918bfa9907a1fa66391e8e2e2370c64d4.zip
tests: Add ./run --test option.
This option, when added via TESTS_ENVIRONMENT = [...] $(top_builddir)/run --test allows us to run the tests and only print the full output (including debugging etc) when the test fails.
Diffstat (limited to 'python')
-rw-r--r--python/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/Makefile.am b/python/Makefile.am
index c6c1b1df..6ffb0d8d 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -47,7 +47,7 @@ libguestfsmod_la_LDFLAGS = -avoid-version -shared
TESTS_ENVIRONMENT = \
PYTHON=$(PYTHON) \
- $(top_builddir)/run
+ $(top_builddir)/run --test
TESTS = run-bindtests