From f1d2b8adab8db4f876eeb45b43ca0e48723123f9 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Fri, 9 Oct 2026 23:51:58 +0200 Subject: [PATCH] fix: a plain build starts with no split paths --- scripts/generate_pack.py | 2 ++ tests/test_system_selection.py | 1 + 2 files changed, 3 insertions(+) diff --git a/scripts/generate_pack.py b/scripts/generate_pack.py index bceb436b..2c379045 100644 --- a/scripts/generate_pack.py +++ b/scripts/generate_pack.py @@ -2337,6 +2337,8 @@ def _run_platform_packs( else: print(f"\nGenerating pack for {representative} {_pack_label(source, required_only)}...") + zip_path = None + zip_paths: list = [] try: tc = target_cores_cache.get(representative) if args.target else None if args.split: diff --git a/tests/test_system_selection.py b/tests/test_system_selection.py index 916730de..14a09a9b 100644 --- a/tests/test_system_selection.py +++ b/tests/test_system_selection.py @@ -85,6 +85,7 @@ class ADeclinedBuildIsAFailure(unittest.TestCase): capture_output=True, text=True, cwd=str(REPO_ROOT), timeout=600, check=False, ) self.assertNotEqual(proc.returncode, 0, proc.stdout + proc.stderr) + self.assertNotIn("Traceback", proc.stderr, proc.stderr) self.assertEqual([p for p in os.listdir(tmp) if p.endswith(".zip")], [])