pungi/tests
Lubomír Sedlář b80efbfd97 hybrid: Refactor handling debuginfo packages
Behavior before this change: debuginfo was added based on source RPMs.
Pungi would get all debuginfo for all architectures that include at
least one binary package. This had a consequence that if foo-x.x86_64
and foo-x.i686 from the same built were included, foo-y-debuginfo.i686
would be included despite foo-y only being present for x86_64.

The patch changes this to work on binary package level: for each
included package `x`, check if there is `x-debuginfo` or
`x-debugsource`, and include them. Packages added in this way have to go
through one iteration of the solver, to account for cases such as
`x-libs-debuginfo` depending on `x-debuginfo` (with only `x` starting
this chain).

To make it slightly faster, the invocation of fus is changed to only
process newly added package in each iteration. It should have no effect
on the results, and subsequent iterations are much faster if they don't
process the same stuff again and again.

JIRA: COMPOSE-3247
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2019-03-18 13:56:48 +01:00
..
data Add script to orchestrate multiple composes 2019-01-08 09:40:36 +01:00
fixtures Add script to orchestrate multiple composes 2019-01-08 09:40:36 +01:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
helpers.py isos: Check maximum expected size 2019-02-12 15:15:30 +01:00
test_arch.py arch: Make i386 map to i686 instead of athlon 2018-05-16 15:22:31 +02:00
test_arguments.py Update tests for Python 2.6 2018-03-29 16:34:52 +02:00
test_buildinstall.py buildinstall: Pick correct config with rootfs_size 2019-02-01 14:24:20 +01:00
test_checks.py Move resolving git reference to config validation 2018-11-21 13:25:35 +01:00
test_compose.py Configure image name per variant 2018-11-05 08:48:36 +01:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py createiso: Move code for tweaking treeinfo into a function 2018-10-11 13:19:07 +02:00
test_config_validate_script.py Ostree can use pkgset repos 2018-02-08 15:23:15 +01:00
test_config.py Move resolving git reference to config validation 2018-11-21 13:25:35 +01:00
test_createiso_phase.py Make the Apple/HFS compatibility configurable 2019-02-21 16:11:01 +01:00
test_createiso_script.py El-Torito boot information on s390x 2017-12-14 10:08:30 +01:00
test_createrepo_wrapper.py createrepo: Allow passing arbitrary arguments 2018-08-08 16:15:51 +02:00
test_createrepophase.py gather: Make devel modules configurable 2018-10-08 14:41:04 +02:00
test_extra_files_phase.py tests: Work with older unittest2 2017-10-30 09:16:18 +01:00
test_extra_isos_phase.py isos: Check maximum expected size 2019-02-12 15:15:30 +01:00
test_fus_wrapper.py fus: Write solvables to file 2018-10-17 10:14:04 +02:00
test_gather_method_deps.py Reduce duplication in tests 2018-08-29 15:52:45 +02:00
test_gather_method_hybrid.py hybrid: Refactor handling debuginfo packages 2019-03-18 13:56:48 +01:00
test_gather_method_nodeps.py Reduce duplication in tests 2018-08-29 15:52:45 +02:00
test_gather_phase.py gather: Prepare module metadata before starting depsolving 2018-10-19 10:28:17 +02:00
test_gather_source_module.py Return RPMs added to -devel module in GatherSourceModule. 2019-02-08 14:24:16 +01:00
test_gather.py Clean up after yum tests 2018-08-27 09:16:40 +02:00
test_graph.py Variant as a lookaside - configuration 2018-04-13 14:14:43 +02:00
test_imagebuildphase.py image-build: Support repo/install_tree as path 2019-02-25 08:18:47 +01:00
test_imagechecksumphase.py Add directory name for checksum file 2017-10-05 16:08:27 +02:00
test_initphase.py init: Keep parent groups in addon comps environments 2018-11-02 12:43:56 +01:00
test_iso_wrapper.py Tests fail if unittest2 library is missing 2018-04-09 07:47:17 +02:00
test_koji_wrapper.py koji_wrapper: Change owner of runroot output 2018-11-15 12:07:27 +01:00
test_linker.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_liveimagesphase.py Move resolving git reference to config validation 2018-11-21 13:25:35 +01:00
test_livemediaphase.py Move resolving git reference to config validation 2018-11-21 13:25:35 +01:00
test_lorax_wrapper.py Port to Python 3 2017-10-24 15:15:31 +02:00
test_media_split.py Include phase name in log for some phases 2016-11-23 16:47:22 +08:00
test_metadata.py tests: fix metadata tests when SOURCE_DATE_EPOCH is set 2019-03-09 15:42:57 +01:00
test_notifier.py Update tests for Python 2.6 2018-03-29 16:34:52 +02:00
test_orchestrator.py orchestrator: Use prefix for config substitutions 2019-02-21 09:42:14 +01:00
test_osbs_phase.py osbs: Accept local paths as repo URLs 2019-02-25 08:18:47 +01:00
test_ostree_installer_phase.py ostree_installer: Pass --buildarch to lorax 2019-01-28 13:41:49 +01:00
test_ostree_phase.py ostree: Add test for expanding basearch for message 2019-01-10 07:53:46 +01:00
test_ostree_script.py Move from yaml.load to yaml.safe_load 2018-11-13 21:11:02 +01:00
test_ostree_utils.py Cleanup parsing treefile 2018-11-19 11:59:32 +01:00
test_patch_iso.py Use universal_newlines when running other commands 2017-10-24 15:15:31 +02:00
test_pathmatch.py Remove executable permissions on test scripts 2016-10-25 10:42:16 +00:00
test_phase_base.py Move resolving git reference to config validation 2018-11-21 13:25:35 +01:00
test_pkgset_pkgsets.py Add 'pkgset_koji_builds' option to include extra builds in a compose 2018-09-21 14:06:49 +02:00
test_pkgset_source_koji.py pkgset: Stop loading list of module RPMs 2019-03-14 09:08:44 -04:00
test_repoclosure_wrapper.py repoclosure: Extract logs from hybrid solver 2018-10-26 08:42:21 +02:00
test_scm.py scm-wrapper: Refactor getting files from Git 2019-03-01 09:40:30 +01:00
test_test_phase.py isos: Check maximum expected size 2019-02-12 15:15:30 +01:00
test_unified_isos.py tests: Work with older unittest2 2017-10-30 09:16:18 +01:00
test_util.py util: Refactor resolving git url 2019-03-01 09:40:30 +01:00
test_variant_wrapper.py variants: Reject values with whitespace 2018-06-12 12:48:14 +02:00