Re: Let's standardize the way to disable tests during RPM build?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05. 06. 20 16:45, Tomas Orsava wrote:
On 6/5/20 4:39 PM, Richard W.M. Jones wrote:
On Fri, Jun 05, 2020 at 10:28:39AM -0400, Paul Wouters wrote:
Or just a new option to rpmbuild that skips %check ?
It exists already: rpmbuild --nocheck.

It's not wired into the rest of the stack - eg. you cannot start a
Koji build with checks disabled.  IMHO that's a good thing, although
when we first started doing the RISC-V bootstrap we initially and
briefly used this option to disable the tests, for convenience of
getting packages built.

It might be a good thing for regular builds, but it's sorely missed in scratch builds.

Generally, the ability to flip bconds in scratchbuilds would be a huge help over uploading the entire SRPM. Something like:

    $ fedpkg build --scratch --without tests --without optimizations

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux