diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2018-08-03 00:26:45 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2018-08-03 00:26:45 +0530 |
commit | d67d634bef4deda775b9e6ee74ed1807963caf35 (patch) | |
tree | 8bc96b9572a2d9e7f0c4f46cdd3e22f70507cb44 /benchtests/bench-strcspn.c | |
parent | 525691bde3b574c4a1800c510db0dd85a70fd9c5 (diff) | |
download | glibc-d67d634bef4deda775b9e6ee74ed1807963caf35.zip glibc-d67d634bef4deda775b9e6ee74ed1807963caf35.tar.gz glibc-d67d634bef4deda775b9e6ee74ed1807963caf35.tar.bz2 |
[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.
Diffstat (limited to 'benchtests/bench-strcspn.c')
0 files changed, 0 insertions, 0 deletions