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 --- tests/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index 4ac3c17..0c51570 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -19,7 +19,11 @@ # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR # PURPOSE. -TESTS = $(check_PROGRAMS) options.cn +if SKIP_TEST + TESTS = options.cn +else !SKIP_TEST + TESTS = $(check_PROGRAMS) options.cn +endif !SKIP_TEST # The script testwrapper.sh will run most tests as is. A couple tests # in the suite end in .reject, .table and the like so that we can pass -- cgit v1.2.3