From e623ce6d7a78108fab7ff19e5ff60ad9917d6a86 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 29 Sep 2010 14:14:26 +0000 Subject: [PATCH] Add %bcond_with alltests. --- contrib/crossrpms/autotools/autoconf.add | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/crossrpms/autotools/autoconf.add b/contrib/crossrpms/autotools/autoconf.add index 16c15f2249..80a97b4df0 100644 --- a/contrib/crossrpms/autotools/autoconf.add +++ b/contrib/crossrpms/autotools/autoconf.add @@ -7,6 +7,8 @@ %define name autoconf %endif +# --with alltests enable all tests +%bcond_with alltests Name: %{name} License: GPL @@ -85,7 +87,7 @@ TESTSUITEFLAGS='-198 200-' TESTSUITEFLAGS='-204 206-' %endif -make check TESTSUITEFLAGS="${TESTSUITEFLAGS}" +make check %{!?with_alltests:TESTSUITEFLAGS="${TESTSUITEFLAGS}"} %endif %install