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.
Rich.
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.
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
packaging@lists.fedoraproject.org