diff mbox

[PATCHv3,3/3] Makefile.am: run tests during distcheck

Message ID 1448372101-27580-3-git-send-email-stuart.haslam@linaro.org
State New
Headers show

Commit Message

Stuart Haslam Nov. 24, 2015, 1:35 p.m. UTC
The distcheck target is intended to ensure that a built distribution
will actually work. As part of the process it runs "make check" and
"make installcheck", but these don't actually do much useful testing
without the appropriate flags having been passed during configure.

Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org>
---
 Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/Makefile.am b/Makefile.am
index 1eb1a9f..353c6c6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,9 @@ 
 ACLOCAL_AMFLAGS=-I m4
 AUTOMAKE_OPTIONS = foreign
+AM_DISTCHECK_CONFIGURE_FLAGS = --enable-test-cpp \
+			       --enable-test-perf \
+			       --enable-test-vald \
+			       --with-testdir
 
 #@with_platform@ works alone in subdir but not as part of a path???
 SUBDIRS = @platform_with_platform@ \