diff --git a/etc/ci/check_dynamic_symbols.py b/etc/ci/check_dynamic_symbols.py index 4f83a8b98aa..04bea851f46 100644 --- a/etc/ci/check_dynamic_symbols.py +++ b/etc/ci/check_dynamic_symbols.py @@ -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)