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.has...@linaro.org>
---
 Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

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@ \
-- 
2.1.1

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to