mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #10818 - askeing:fix_10797, r=nox
Put each unexpected dynamic symbols on its own line fix #10797 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10818) <!-- Reviewable:end -->
This commit is contained in:
commit
bc2a88ad8f
1 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,8 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
from __future__ import absolute_import, print_function
|
||||
|
||||
import sys
|
||||
import re
|
||||
import subprocess
|
||||
|
@ -29,6 +31,6 @@ for line in objdump_output:
|
|||
difference = actual_symbols - allowed_symbols
|
||||
|
||||
if len(difference) > 0:
|
||||
human_readable_difference = ", ".join(str(s) for s in difference)
|
||||
print("Unexpected dynamic symbols in binary: {0}".format(human_readable_difference))
|
||||
human_readable_difference = "\n".join(str(s) for s in difference)
|
||||
print("Unexpected dynamic symbols in binary:\n{0}".format(human_readable_difference))
|
||||
sys.exit(-1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue