diff mbox

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

Message ID 1447413314-24174-3-git-send-email-stuart.haslam@linaro.org
State Superseded
Headers show

Commit Message

Stuart Haslam Nov. 13, 2015, 11:15 a.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 6c2a9a4..b8058d0 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@ \