summaryrefslogtreecommitdiffhomepage
path: root/tests/data
Commit message (Collapse)AuthorAge
* rpm.SpecFile: support %autosetupMarkus Lehtonen2017-12-16
| | | | | | | | | Try to do "the right thing" when %autosetup macro is used in the spec file. That is, do not examine/manage %patch macros at all, but, assume that patches are handled by %autosetup which was introduced in RPM v4.11. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Add missing test dataGuido Günther2017-08-31
| | | | Gbp-Dch: Ignore
* tests: Move pristine-tar test data to tests/data as wellGuido Günther2017-08-23
|
* create_remote_repo: allow to list config sectionsGuido Günther2016-12-09
|
* specfile: handle %patch -FTzafrir Cohen2016-12-07
| | | | | | | | | The %patch macro of rpm supports the flag -F<num>, which seems to be similar to that of patch(1): allow patches with a specific fuzz. Parse the option but ignore it since we don't want patches with fuzz. Closes: #846479
* config: Use the same logic for printing a single and all valuesGuido Günther2015-11-20
| | | | | Printing single values didn't populate the parser with defaults so we ended up with empty values for options not set in a config file.
* Drop my_collections from spec filesGuido Günther2015-05-26
| | | | | It trips up recent librpm and we don't need the data for the tests anyway.
* rpm tests: unbreak spec parsing test for openSUSE 13.2Markus Lehtonen2015-04-01
| | | | | | Some SUSE-specific RPM tags are not supported anymore. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* tests: add unit tests for gbp.rpm.SrcRpmFileMarkus Lehtonen2015-04-01
| | | | Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Introduce rpm helpersMarkus Lehtonen2014-07-24
| | | | | | | | | | | Implements a new gbp.rpm module that contains functionality for e.g. parsing and editing spec files, reading src.rpm files rpm-specific packaging policy etc. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com> Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com> Signed-off-by: Huang Hao <hao.h.huang@intel.com>
* Add minimal 'config' commandGuido Günther2014-04-01
| | | | | | This only allows to print single config values so far. Closes: #733470
* Test option parser fallbacks more thoroughlyGuido Günther2014-04-01
| | | | | | revealing another bug where we overwrote parsed values with defaults Closes: #733759
* Test apply_and_commit_patchGuido Günther2012-11-23