Add %bcond_with alltests.

This commit is contained in:
Ralf Corsepius
2010-09-29 14:15:21 +00:00
parent 91134d863f
commit fa085be58f

View File

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