aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAge
* import_srpm: Drop epoch tooGuido Günther2016-12-07
| | | | | | Upstream tags are without epoch so we need to filter that out too. Thanks: Tzafrir Cohen
* 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
* tests/*rpm*: flake8 cleanGuido Günther2016-12-07
|
* pq_rpm: use relative path names for patchesGuido Günther2016-12-07
| | | | | | Based on a patch from Tzafrir Cohen Closes: #834582
* import_rpms: use upstream version for upstream tagGuido Günther2016-12-05
| | | | Closes: #846936
* import_srpm: allow for more than one argumentGuido Günther2016-12-04
| | | | | | otherwise giving a target dir always raises an error (introduced by 03276df5b9391dc877521cd6c3553ca071157991)
* import_dsc: fail properly again without a package to importGuido Günther2016-12-04
| | | | (introduced by 03276df5b9391dc877521cd6c3553ca071157991)
* Fix new flake8 errorsGuido Günther2016-11-15
| | | | E305 expected 2 blank lines after class or function definition
* commands: allow to fall back to error reason if stderr is emptyGuido Günther2016-11-04
| | | | | | | Use this in PristineTar and SrcRpmFile to give better error messages if the command doesn't even get to print to stderr (i.e. missing on disk). Closes: #842592
* tests: Move doctests to subdirGuido Günther2016-11-04
|
* buildpackage: handle <vendor>/masterGuido Günther2016-10-19
|
* GitRepository.list_submodules: use _git_inoutGuido Günther2016-10-09
| | | | | | | | | and check exit status This silences another spurious output to stderr in test_buildpackage_rpm and makes sure we fail on the first operation on the nonexistent tree (repo.list_submodules) instead of the second (repo.archive) since the former ignored the exit status so far.
* test_buildpackage_rpm: check that we fail subtarball generation correctlyGuido Günther2016-10-09
|
* tests: capture stderr in gbp import_srpm component testsGuido Günther2016-10-08
| | | | Reduces spurious output
* tests: capture stderr in gbp rpm-ch component testsGuido Günther2016-10-08
| | | | Reduces spurious output
* dch: avoid adding section in snapshot mode if distribution is UNRELEASEDLinn Crosetto2016-10-02
| | | | | | | | | | | | | When using git-dch in snapshot mode, a section is added without checking whether the distribution is set to UNRELEASED. If the distribution is UNRELEASED, the version will be incremented but a new section will not be added, resulting in a skipped version in the changelog. Change this behavior to add a new section in snapshot mode only if the distribution is not set to UNRELEASED. Signed-off-by: Linn Crosetto <linn@hpe.com> Closes: #838714
* tests/buildpackage: test --git-export-dirGuido Günther2016-10-02
|
* tests/buildpackage: use absolut path for output filesGuido Günther2016-10-02
| | | | so we can find them when using --git-export-dir
* tests/buildpackage: prettier test namesGuido Günther2016-10-02
| | | | Git-Dch: Ignore
* test_buildpackage_rpm.py: flake8 cleanGuido Günther2016-09-29
|
* test_pq_rpm.py: don't spew on stderrGuido Günther2016-09-28
|
* test_pq_rpm: flake8 cleanGuido Günther2016-09-28
|
* pq: make TestFromTAG tests silentGuido Günther2016-09-28
|
* config: allow to set short optionsGuido Günther2016-09-15
|
* tests: capture stderr in buildpackage-rpm unit testsMarkus Lehtonen2016-09-12
| | | | | | Reduces spurious output from rpmbuild. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Rename README to README.mdGuido Günther2016-09-12
| | | | to get Markdown formatting
* test_rpm_ch: use GIT_AUTHOR_* env varsGuido Günther2016-09-12
| | | | | | Use env vars in the test instead of config file otherwise the tests fail if a user uses GIT_AUTHOR_* vars on the command line since these overwrite the config file values.
* 26_test_dch_extract_thanks: flake8 cleanGuido Günther2016-09-12
|
* test_clone: flake8 cleanGuido Günther2016-09-12
|
* 24_test_gbp_import_orig: flake8 cleanGuido Günther2016-09-12
|
* 23_test_dch_extract_bts_cmds: flake8 cleanGuido Günther2016-09-12
|
* 19_test_gbp_scripts_config: flake8 cleanGuido Günther2016-09-12
|
* 17_test_dch_guess_documented_commit: flake8 cleanGuido Günther2016-09-12
|
* 16_test_supercommand: flake8 cleanGuido Günther2016-09-12
|
* 15_test_DebianSource: flake8 cleanGuido Günther2016-09-12
|
* 10_test_get_upstream_tree: flake8 cleanGuido Günther2016-09-12
|
* 09_test_write_tree: flake8 cleanGuido Günther2016-09-12
|
* 08_test_patch: flake8 cleanGuido Günther2016-09-12
|
* 07_test_fastimport: flake8 cleanGuido Günther2016-09-12
|
* 14_test_gbp_import_dscs: flake8 cleanGuido Günther2016-09-12
|
* 12_test_deb: flake8 cleanGuido Günther2016-09-12
|
* 13_test_gbp_pq: flake8 cleanGuido Günther2016-09-12
|
* test_Changelog: flake8 cleanGuido Günther2016-09-12
|
* test_Control.py: flake8 cleanGuido Günther2016-09-12
|
* test_GitModifyer: flake8 cleanGuido Günther2016-09-12
|
* test_PristineTar: flake8 cleanGuido Günther2016-09-12
|
* tests/context: flake8 cleanGuido Günther2016-09-12
|
* create_remote_repo: allow to create non bare repositoriesGuido Günther2016-09-12
| | | | Closes: #837158
* create_remote_repo: move build_remote_script test to separate fileGuido Günther2016-09-12
| | | | Git-Dch: Ignore
* pep8/pyflakes cleanupsGuido Günther2016-09-12
|