From d67d634bef4deda775b9e6ee74ed1807963caf35 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Fri, 3 Aug 2018 00:26:45 +0530 Subject: [benchtests] Fix compare_strings.py for python2 Python 2 does not have a FileNotFoundError so drop it in favour of simply printing out the last (and most informative) line of the exception. * benchtests/scripts/compare_strings.py: Import traceback. (parse_file): Pretty-print error. --- ChangeLog | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index f77569eaff..fd47bfe5d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2018-08-02 Siddhesh Poyarekar + * benchtests/scripts/compare_strings.py: Import traceback. + (parse_file): Pretty-print error. + * NEWS: Mention the change. * elf/dl-tunables.list: Rename tune namespace to cpu. * sysdeps/powerpc/dl-tunables.list: Likewise. -- cgit v1.2.3