2022-01-24 09:57:40 +01:00
|
|
|
Feature: `osc getbinaries <repo> <arch>` command from a package checkout
|
|
|
|
|
|
|
|
|
|
|
|
# common steps for all scenarios
|
|
|
|
Background:
|
|
|
|
Given I set working directory to "{context.osc.temp}"
|
2022-12-08 09:52:50 +01:00
|
|
|
And I execute osc with args "checkout test:factory multibuild-pkg"
|
|
|
|
And I set working directory to "{context.osc.temp}/test:factory/multibuild-pkg"
|
2022-01-24 09:57:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
Scenario: Run `osc getbinaries <repo> <arch>` from a package checkout
|
|
|
|
When I execute osc with args "getbinaries standard x86_64"
|
2022-12-08 09:52:50 +01:00
|
|
|
Then directory listing of "{context.osc.temp}/test:factory/multibuild-pkg/binaries/" is
|
2022-01-24 09:57:40 +01:00
|
|
|
"""
|
2022-12-05 15:10:50 +01:00
|
|
|
multibuild-pkg-1-1.x86_64.rpm
|
2022-01-24 09:57:40 +01:00
|
|
|
_buildenv
|
|
|
|
_statistics
|
|
|
|
rpmlint.log
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
Scenario: Run `osc getbinaries <repo> <arch> --multibuild-package=<flavor>` from a package checkout
|
|
|
|
When I execute osc with args "getbinaries standard x86_64 --multibuild-package=flavor1"
|
2022-12-08 09:52:50 +01:00
|
|
|
Then directory listing of "{context.osc.temp}/test:factory/multibuild-pkg/binaries/" is
|
2022-01-24 09:57:40 +01:00
|
|
|
"""
|
2022-12-05 15:10:50 +01:00
|
|
|
multibuild-pkg-flavor1-1-1.x86_64.rpm
|
2022-01-24 09:57:40 +01:00
|
|
|
_buildenv
|
|
|
|
_statistics
|
|
|
|
rpmlint.log
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
Scenario: Run `osc getbinaries <repo> <arch> --debuginfo` from a package checkout
|
|
|
|
When I execute osc with args "getbinaries standard x86_64 --debuginfo"
|
2022-12-08 09:52:50 +01:00
|
|
|
Then directory listing of "{context.osc.temp}/test:factory/multibuild-pkg/binaries/" is
|
2022-01-24 09:57:40 +01:00
|
|
|
"""
|
2022-12-05 15:10:50 +01:00
|
|
|
multibuild-pkg-1-1.x86_64.rpm
|
|
|
|
multibuild-pkg-debuginfo-1-1.x86_64.rpm
|
|
|
|
multibuild-pkg-debugsource-1-1.x86_64.rpm
|
2022-01-24 09:57:40 +01:00
|
|
|
_buildenv
|
|
|
|
_statistics
|
|
|
|
rpmlint.log
|
|
|
|
"""
|