Skip to content

Commit d8bfd45

Browse files
authored
Merge pull request openSUSE#1600 from adrianschroeter/checks
Introduce build --checks parameter
2 parents d468bd6 + 7c94115 commit d8bfd45

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

osc/build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,8 @@ def main(apiurl, store, opts, argv):
804804
buildargs.append('--norootforbuild')
805805
if opts.clean:
806806
buildargs.append('--clean')
807+
if opts.checks:
808+
buildargs.append('--checks')
807809
if opts.nochecks:
808810
buildargs.append('--no-checks')
809811
if not opts.no_changelog:

osc/commandline.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7170,6 +7170,8 @@ def parse_repoarchdescr(self, args, noinit=False, alternative_project=None, igno
71707170
help='Copy overlay filesystem to buildroot after installing all RPMs .')
71717171
@cmdln.option('--noinit', '--no-init', action='store_true',
71727172
help='Skip initialization of build root and start with build immediately.')
7173+
@cmdln.option('--checks', action='store_true',
7174+
help='Run checks even if disabled in the build config')
71737175
@cmdln.option('--nochecks', '--no-checks', action='store_true',
71747176
help='Do not run build checks on the resulting packages.')
71757177
@cmdln.option('--no-verify', '--noverify', action='store_true',

0 commit comments

Comments
 (0)