mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 21:58:41 +02:00
Improve 'getbinaries' command by accepting '-M' / '--multibuild-package' option outside checkouts
This commit is contained in:
@@ -16,8 +16,10 @@ Scenario: Run `osc getbinaries <project> <package> <repo> <arch> <file>`
|
||||
|
||||
Scenario: Run `osc getbinaries <project> <package> <repo> <arch> <file> --multibuild-package=<flavor>`
|
||||
When I execute osc with args "getbinaries test:factory multibuild-pkg standard x86_64 multibuild-pkg-flavor1-1-1.x86_64.rpm --multibuild-package=flavor1"
|
||||
# the option is allowed only in a package checkout
|
||||
Then the exit code is 2
|
||||
Then directory listing of "{context.osc.temp}/binaries/" is
|
||||
"""
|
||||
multibuild-pkg-flavor1-1-1.x86_64.rpm
|
||||
"""
|
||||
|
||||
|
||||
Scenario: Run `osc getbinaries <project> <package>:<flavor> <repo> <arch> <file>` where file is a package
|
||||
|
@@ -19,8 +19,13 @@ Scenario: Run `osc getbinaries <project> <package> <repo> <arch>`
|
||||
|
||||
Scenario: Run `osc getbinaries <project> <package> <repo> <arch> --multibuild-package=<flavor>`
|
||||
When I execute osc with args "getbinaries test:factory multibuild-pkg standard x86_64 --multibuild-package=flavor1"
|
||||
# the option is allowed only in a package checkout
|
||||
Then the exit code is 2
|
||||
Then directory listing of "{context.osc.temp}/binaries/" is
|
||||
"""
|
||||
multibuild-pkg-flavor1-1-1.x86_64.rpm
|
||||
_buildenv
|
||||
_statistics
|
||||
rpmlint.log
|
||||
"""
|
||||
|
||||
|
||||
Scenario: Run `osc getbinaries <project> <package>:<flavor> <repo> <arch>`
|
||||
|
@@ -35,8 +35,13 @@ Scenario: Run `osc getbinaries <project> <repo> <arch>`
|
||||
|
||||
Scenario: Run `osc getbinaries <project> <repo> <arch> --multibuild-package=<flavor>`
|
||||
When I execute osc with args "getbinaries test:factory standard x86_64 --multibuild-package=flavor1"
|
||||
# the option is allowed only in a package checkout
|
||||
Then the exit code is 2
|
||||
Then directory tree in "{context.osc.temp}/binaries/" is
|
||||
"""
|
||||
multibuild-pkg-flavor1-1-1.x86_64.rpm
|
||||
multibuild-pkg:flavor1/_buildenv
|
||||
multibuild-pkg:flavor1/_statistics
|
||||
multibuild-pkg:flavor1/rpmlint.log
|
||||
"""
|
||||
|
||||
|
||||
Scenario: Run `osc getbinaries <project> <repo> <arch> --debuginfo`
|
||||
|
@@ -37,8 +37,13 @@ Scenario: Run `osc getbinaries <repo> <arch>` from a project checkout
|
||||
|
||||
Scenario: Run `osc getbinaries <repo> <arch> --multibuild-package=<flavor>` from a project checkout
|
||||
When I execute osc with args "getbinaries standard x86_64 --multibuild-package=flavor1"
|
||||
# the option is allowed only in a package checkout
|
||||
Then the exit code is 2
|
||||
Then directory tree in "{context.osc.temp}/test:factory/binaries/" is
|
||||
"""
|
||||
multibuild-pkg-flavor1-1-1.x86_64.rpm
|
||||
multibuild-pkg:flavor1/_buildenv
|
||||
multibuild-pkg:flavor1/_statistics
|
||||
multibuild-pkg:flavor1/rpmlint.log
|
||||
"""
|
||||
|
||||
|
||||
Scenario: Run `osc getbinaries <repo> <arch> --sources` from a project checkout
|
||||
|
@@ -40,8 +40,14 @@ Scenario: Run `osc getbinaries <repo>` from a project checkout
|
||||
|
||||
Scenario: Run `osc getbinaries <repo> --multibuild-package=<flavor>` from a project checkout
|
||||
When I execute osc with args "getbinaries standard --multibuild-package=flavor1"
|
||||
# the option is allowed only in a package checkout
|
||||
Then the exit code is 2
|
||||
Then directory tree in "{context.osc.temp}/test:factory/binaries/" is
|
||||
"""
|
||||
multibuild-pkg-flavor1-1-1.i586.rpm
|
||||
multibuild-pkg-flavor1-1-1.x86_64.rpm
|
||||
multibuild-pkg:flavor1/_buildenv
|
||||
multibuild-pkg:flavor1/_statistics
|
||||
multibuild-pkg:flavor1/rpmlint.log
|
||||
"""
|
||||
|
||||
|
||||
Scenario: Run `osc getbinaries <repo> --sources` from a project checkout
|
||||
|
Reference in New Issue
Block a user