[PATCH] CI: Fix tar files mask in source test case

0 views
Skip to first unread message

Anton Mikanovich

unread,
Jul 2, 2024, 3:01:01 AM (4 days ago) Jul 2
to isar-...@googlegroups.com, 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 <ami...@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

Reply all
Reply to author
Forward
0 new messages