1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-08 22:06:16 +01:00

Merge pull request #1600 from adrianschroeter/checks

Introduce build --checks parameter
This commit is contained in:
Daniel Mach 2024-07-15 14:54:19 +02:00 committed by GitHub
commit d8bfd4521e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -804,6 +804,8 @@ def main(apiurl, store, opts, argv):
buildargs.append('--norootforbuild')
if opts.clean:
buildargs.append('--clean')
if opts.checks:
buildargs.append('--checks')
if opts.nochecks:
buildargs.append('--no-checks')
if not opts.no_changelog:

View File

@ -7170,6 +7170,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
help='Copy overlay filesystem to buildroot after installing all RPMs .')
@cmdln.option('--noinit', '--no-init', action='store_true',
help='Skip initialization of build root and start with build immediately.')
@cmdln.option('--checks', action='store_true',
help='Run checks even if disabled in the build config')
@cmdln.option('--nochecks', '--no-checks', action='store_true',
help='Do not run build checks on the resulting packages.')
@cmdln.option('--no-verify', '--noverify', action='store_true',