From 629563a5d9cbde42635e72c1865029bb37339e80 Mon Sep 17 00:00:00 2001 From: askeing Date: Tue, 26 Apr 2016 02:24:02 -0700 Subject: [PATCH] servo: Merge #10818 - Put each unexpected dynamic symbols on its own line (from askeing:fix_10797); r=nox fix #10797 Source-Repo: https://github.com/servo/servo Source-Revision: bc2a88ad8f41087356e4936829ee1095bd7fc951 --- servo/etc/ci/check_dynamic_symbols.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/servo/etc/ci/check_dynamic_symbols.py b/servo/etc/ci/check_dynamic_symbols.py index 4f83a8b98aa2..50b5052a5421 100644 --- a/servo/etc/ci/check_dynamic_symbols.py +++ b/servo/etc/ci/check_dynamic_symbols.py @@ -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)