Put each unexpected dynamic symbols on its own line

This commit is contained in:
askeing 2016-04-23 20:20:44 +09:00
parent 75ae1c033f
commit f5d87a37ec

View file

@ -29,6 +29,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)