public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] CI: Fix tar files mask in source test case
@ 2024-07-02  7:00 Anton Mikanovich
  2024-07-12  6:02 ` Uladzimir Bely
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Mikanovich @ 2024-07-02  7:00 UTC (permalink / raw)
  To: isar-users; +Cc: Anton Mikanovich

As source packages can be compressed not just with gzip make file mask
little more generic to allow different compression types.

Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
 testsuite/cibase.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/cibase.py b/testsuite/cibase.py
index fd571c29..b2a804b7 100755
--- a/testsuite/cibase.py
+++ b/testsuite/cibase.py
@@ -241,7 +241,7 @@ class CIBaseTest(CIBuilder):
                 sfiles[target] = dict()
                 package = target.rsplit(':', 1)[-1]
                 isar_apt = CIUtils.getVars('REPO_ISAR_DB_DIR', target=target)
-                fpath = f'{package}/{package}*.tar.gz'
+                fpath = f"{package}/{package}*.tar.*"
                 targz = set(glob.glob(f'{isar_apt}/../apt/*/pool/*/*/{fpath}'))
                 if len(targz) < 1:
                     self.fail('No source packages found')
-- 
2.34.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-12  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-02  7:00 [PATCH] CI: Fix tar files mask in source test case Anton Mikanovich
2024-07-12  6:02 ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox