diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-26 22:47:35 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-26 23:34:30 +0100 |
commit | 05d4e07918bfa9907a1fa66391e8e2e2370c64d4 (patch) | |
tree | 7e18079fefdf927b56715f24e0080c2a65a70840 /df | |
parent | bbb7d75c91450ab029edb794b0486eeb8220e4fd (diff) | |
download | libguestfs-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 'df')
-rw-r--r-- | df/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/df/Makefile.am b/df/Makefile.am index 83409da1..95da813c 100644 --- a/df/Makefile.am +++ b/df/Makefile.am @@ -78,7 +78,7 @@ random_val := $(shell awk 'BEGIN{srand(); print 1+int(255*rand())}' < /dev/null) TESTS_ENVIRONMENT = \ MALLOC_PERTURB_=$(random_val) \ - $(top_builddir)/run + $(top_builddir)/run --test if ENABLE_APPLIANCE TESTS = test-virt-df.sh |