Skip to content

Commit

Permalink
tatt: test run should be after the use combinations
Browse files Browse the repository at this point in the history
Resolves: #174
Signed-off-by: Arthur Zamarin <[email protected]>
  • Loading branch information
arthurzam committed Mar 12, 2024
1 parent d3ca083 commit e1646fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pkgdev/scripts/pkgdev_tatt.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit e1646fa

Please sign in to comment.