[ovirt-devel] vdsm make rpm & make check on fe vs el
Nir Soffer
nsoffer at redhat.com
Mon Oct 27 11:16:11 UTC 2014
----- Original Message -----
> From: "Francesco Romani" <fromani at redhat.com>
> To: devel at ovirt.org
> Cc: "Mooli Tayer" <mtayer at redhat.com>, "Nir Soffer" <nsoffer at redhat.com>
> Sent: Monday, October 27, 2014 1:11:45 PM
> Subject: Re: [ovirt-devel] vdsm make rpm & make check on fe vs el
>
> > ----- Original Message -----
> > > From: "Mooli Tayer" <mtayer at redhat.com>
> > > To: devel at ovirt.org
> > > Sent: Monday, October 27, 2014 11:16:41 AM
> > > Subject: [ovirt-devel] vdsm make rpm & make check on fe vs el
> > >
> > > Isn't this odd?
> > >
> > > Fedora release 20 (Heisenbug)
> > > =============================
> > > $ make check 2>&1 | grep -E "^Ran"
> > > Ran 2 tests in 1.006s
> > > Ran 1 test in 0.070s
> > > Ran 691 tests in 63.504s
> > > $ make rpm 2>&1 | grep -E "^Ran" | tail -f
> > > Ran 2 tests in 1.005s
> > > Ran 1 test in 0.069s
> > > Ran 691 tests in 63.937s
> > > $
> > >
> > >
> > >
> > > Red Hat Enterprise Linux Server release 6.6 (Santiago)
> > > ======================================================
> > >
> > > $ make check 2>&1 | grep -E "^Ran"
> > > Ran 2 tests in 1.003s
> > > Ran 1 test in 0.082s
> > > Ran 691 tests in 61.114s
> > > $ make rpm 2>&1 | grep -E "^Ran"
> > > $
> > >
> > > I've also saw a different numbers of tests running for make rpm on el.
> >
> > I have seen this on several 6.5 machines - make rpm on does *not* run
> > the tests.
> >
> > It would be nice if take a look at this.
>
> It was made on purposes:
>
> # Skips check since rhel default repos lack pep8 and pyflakes
> %if ! 0%{?rhel}
> %global with_check 1
> %endif
>
> http://gerrit.ovirt.org/#/c/29213/
>
> I believe time has come for a more robust solution
As first aid, we should log something like "Skipping tests because ..."
in this case.
I think we need to change that so we disable only pep8 in make rpm.
Nir
More information about the Devel
mailing list