aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Haslam <stuart.haslam@linaro.org>2015-11-24 13:35:01 +0000
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-11-25 21:59:35 +0300
commit4b399be4b6f7ce13de2165bc350671ccba6b6a2b (patch)
tree13e07449447afbca9cb22cb80f8a26663a334563
parentc67bdfaa4095aa2a0b13fd5da30d583c36ea5029 (diff)
Makefile.am: run tests during distcheck
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> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 1eb1a9f40..353c6c659 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@ \