From 36c1f588910ed0d016a8691949ff4228e5019479 Mon Sep 17 00:00:00 2001 From: Manoj Srivastava Date: Tue, 16 Feb 2016 21:32:58 -0800 Subject: Honour nockeck in DEB_BUILD_OPTIONS Bug fix: "flex FTCBFS: runs tests even when DEB_BUILD_OPTIONS contains nocheck", thanks to Helmut Grohne. Added an AM_CONDITIONAL that tests DEB_BUILD_OPTIONS in configure.ac, and use that in tests/Makefile.am. Seems to work fine. (Closes: #812659). Signed-off-by: Manoj Srivastava --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4c519dc..ae2c0d1 100644 --- a/configure.ac +++ b/configure.ac @@ -112,6 +112,9 @@ AC_FUNC_MALLOC AC_FUNC_REALLOC AC_CHECK_FUNCS([dup2 isascii memset pow regcomp setlocale strchr strtol]) +# are we ignoring tests +AM_CONDITIONAL([SKIP_TEST], [ "$(echo $DEB_BUILD_OPTIONS | grep nocheck)" ]) + AC_CONFIG_FILES( Makefile doc/Makefile -- cgit v1.2.3