]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- torture gcc.
authorPaweł Sikora <pluto@pld-linux.org>
Mon, 6 Jun 2005 21:02:40 +0000 (21:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcc.spec -> 1.317

gcc.spec

index 90b1616d1d3ea36c9e0ab77ae96e6259ba43d5c3..930c9916f1b571665b87c155b2916f712bc0976c 100644 (file)
--- a/gcc.spec
+++ b/gcc.spec
@@ -14,6 +14,7 @@
 %bcond_with    multilib        # build with multilib support (it needs glibc[32&64]-devel)
 %bcond_without profiling       # build without profiling
 %bcond_without bootstrap       # omit 3-stage bootstrap
+%bcond_with    tests           # torture gcc
 
 %if %{without objc}
 %undefine      with_objcxx
@@ -57,10 +58,12 @@ Patch15:    %{name}-pr21704.patch
 Patch16:       %{name}-pr21923.patch
 URL:           http://gcc.gnu.org/
 BuildRequires: autoconf
+%{?with_tests:BuildRequires:   autogen}
 BuildRequires: automake
 BuildRequires: binutils >= 2:2.15.94.0.1
 BuildRequires: bison
 %{?with_java:BuildRequires:    cairo-devel}
+%{?with_tests:BuildRequires:   dejagnu}
 BuildRequires: fileutils >= 4.0.41
 BuildRequires: flex
 %if %{with ada}
@@ -777,6 +780,8 @@ cd ..
        mandir=%{_mandir} \
        infodir=%{_infodir}
 
+%{?with_tests:make -k -C obj-%{_target_platform} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/lib,%{_aclocaldir},%{_datadir},%{_infodir}}
This page took 0.038847 seconds and 4 git commands to generate.