mirror of
https://tvoygit.ru/Djam/r11-builder-agent.git
synced 2025-02-23 10:22:45 +00:00
add globs to exclude debuginfo
This commit is contained in:
parent
55cf64cd9f
commit
e4c7b0b1c0
1 changed files with 5 additions and 1 deletions
|
@ -25,7 +25,11 @@ ts.setVSFlags(~(rpm.RPMVSF_NEEDPAYLOAD))
|
|||
# if some of them fail the test
|
||||
exit_code = 0
|
||||
|
||||
for pkg in glob.glob("/home/omv/output/*.rpm"):
|
||||
# exclude debuginfo package
|
||||
# glob don't know how to work with exclude pattern's
|
||||
# let's cheat it
|
||||
files = set(glob.glob("/home/omv/output/*.rpm")) - set(glob.glob("/home/omv/output/*debuginfo*"))
|
||||
for pkg in files:
|
||||
# Do not check src.srm
|
||||
# (can't exclude them in the glob expression above,
|
||||
# since glob doesn't support exclusion patterns)
|
||||
|
|
Loading…
Add table
Reference in a new issue