From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH] CI: Fix tar files mask in source test case
Date: Tue, 2 Jul 2024 10:00:51 +0300 [thread overview]
Message-ID: <20240702070051.52959-1-amikan@ilbers.de> (raw)
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
next reply other threads:[~2024-07-02 7:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 7:00 Anton Mikanovich [this message]
2024-07-12 6:02 ` Uladzimir Bely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240702070051.52959-1-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox