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

Introduce build --checks parameter

Added in build script
This commit is contained in:
Adrian Schröter 2024-07-09 09:35:41 +02:00
parent d468bd692f
commit 7c941156b9
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',