File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -127,15 +127,17 @@ def _inner_replace(
127
127
itertools .chain (copy_works .values (), replace_works .values ())
128
128
)
129
129
)
130
+ replace_works .clear ()
130
131
for _ , path in soname_map .values ():
131
132
needed = elf_read_dt_needed (path )
132
133
replacements = []
133
134
for n in needed :
134
135
if n in soname_map :
135
136
replacements .append ((n , soname_map [n ][0 ]))
136
137
if replacements :
137
- pool .submit (patcher .replace_needed , path , * replacements )
138
+ replace_works [ path ] = pool .submit (patcher .replace_needed , path , * replacements )
138
139
140
+ assert all (f .exception () is None for f in as_completed (replace_works .values ()))
139
141
if update_tags :
140
142
ctx .out_wheel = add_platforms (ctx , abis , get_replace_platforms (abis [0 ]))
141
143
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ def assert_show_output(
370
370
assert expected_match , f"No match for tag { expected_tag } "
371
371
expected_glibc = (int (expected_match ["major" ]), int (expected_match ["minor" ]))
372
372
actual_match = TAG_RE .match (match ["tag" ])
373
- assert actual_match , f"No match for tag { match ['tag' ]} "
373
+ assert actual_match , f"No match for tag { match ['tag' ]} , output= { output } "
374
374
actual_glibc = (int (actual_match ["major" ]), int (actual_match ["minor" ]))
375
375
assert expected_match ["arch" ] == actual_match ["arch" ]
376
376
assert actual_glibc <= expected_glibc
You can’t perform that action at this time.
0 commit comments