mirror of
https://github.com/ceph/ceph
synced 2024-12-26 13:33:57 +00:00
suite: fix build_matrix for + case
The + means we should concatenate everything in the directory. Do that. This was totally broken before (and unused until now). Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
57259b54be
commit
94d73bd411
@ -160,13 +160,14 @@ def build_matrix(path):
|
||||
if '+' in files:
|
||||
# concatenate items
|
||||
files.remove('+')
|
||||
out = []
|
||||
raw = []
|
||||
for fn in files:
|
||||
out.extend(build_matrix(os.path.join(path, fn)))
|
||||
return [(
|
||||
'+',
|
||||
[a[1] for a in out]
|
||||
)]
|
||||
raw.extend(build_matrix(os.path.join(path, fn)))
|
||||
out = [(
|
||||
'{' + ' '.join(files) + '}',
|
||||
[a[1][0] for a in raw]
|
||||
)]
|
||||
return out
|
||||
elif '%' in files:
|
||||
# convolve items
|
||||
files.remove('%')
|
||||
|
Loading…
Reference in New Issue
Block a user