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.
This commit is contained in:
Richard W.M. Jones
2012-06-26 22:47:35 +01:00
parent bbb7d75c91
commit 05d4e07918
31 changed files with 64 additions and 38 deletions

View File

@@ -28,7 +28,7 @@ EXTRA_DIST = $(generator_built) *.hs run-bindtests
if HAVE_HASKELL
TESTS_ENVIRONMENT = \
$(top_builddir)/run \
$(top_builddir)/run --test \
$(VG)
# Don't run the bindtests: they don't build since the addition of optargs.