Skip to content

Commit e1646fa

Browse files
committed
tatt: test run should be after the use combinations
Resolves: #174 Signed-off-by: Arthur Zamarin <[email protected]>
1 parent d3ca083 commit e1646fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pkgdev/scripts/pkgdev_tatt.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@ def _build_job(namespace, pkg, is_test: bool):
314314

315315
def _build_jobs(namespace, pkgs):
316316
for pkg in pkgs:
317-
if namespace.test and "test" in pkg.defined_phases:
318-
yield pkg.versioned_atom, True, next(iter(_build_job(namespace, pkg, True)))
319-
320317
for flags in islice(_build_job(namespace, pkg, False), namespace.use_combos):
321318
yield pkg.versioned_atom, False, flags
322319

320+
if namespace.test and "test" in pkg.defined_phases:
321+
yield pkg.versioned_atom, True, next(iter(_build_job(namespace, pkg, True)))
322+
323323

324324
def _create_config_dir(directory: Path):
325325
if not directory.exists():

0 commit comments

Comments
 (0)