diff options
author | 2024-03-12 21:48:46 +0200 | |
---|---|---|
committer | 2024-03-12 21:48:46 +0200 | |
commit | e1646fa6ccf350b3dd030ca52208db1c458344c9 (patch) | |
tree | 34db6c3626d4b081ed20fee8feda18e70f30d9f1 | |
parent | tatt: fix required_use for packages from bug (diff) | |
download | pkgdev-e1646fa6ccf350b3dd030ca52208db1c458344c9.tar.gz pkgdev-e1646fa6ccf350b3dd030ca52208db1c458344c9.tar.bz2 pkgdev-e1646fa6ccf350b3dd030ca52208db1c458344c9.zip |
tatt: test run should be after the use combinations
Resolves: https://github.com/pkgcore/pkgdev/issues/174
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | src/pkgdev/scripts/pkgdev_tatt.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkgdev/scripts/pkgdev_tatt.py b/src/pkgdev/scripts/pkgdev_tatt.py index ff88d25..5a76b54 100644 --- a/src/pkgdev/scripts/pkgdev_tatt.py +++ b/src/pkgdev/scripts/pkgdev_tatt.py @@ -314,12 +314,12 @@ def _build_job(namespace, pkg, is_test: bool): def _build_jobs(namespace, pkgs): for pkg in pkgs: - if namespace.test and "test" in pkg.defined_phases: - yield pkg.versioned_atom, True, next(iter(_build_job(namespace, pkg, True))) - for flags in islice(_build_job(namespace, pkg, False), namespace.use_combos): yield pkg.versioned_atom, False, flags + if namespace.test and "test" in pkg.defined_phases: + yield pkg.versioned_atom, True, next(iter(_build_job(namespace, pkg, True))) + def _create_config_dir(directory: Path): if not directory.exists(): |