diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-04-19 22:30:14 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-04-19 22:30:14 (GMT) |
commit | 0d88c652318c4c5eed77fd2e78e9e955ffa5c8d1 (patch) | |
tree | ba5ab58e2ab17c356db2ee5e8f49c136e6c94805 /Lib/test | |
parent | b5d164cc3fc9ba3afbf42b7df58475678b9c772c (diff) | |
download | cpython-0d88c652318c4c5eed77fd2e78e9e955ffa5c8d1.zip cpython-0d88c652318c4c5eed77fd2e78e9e955ffa5c8d1.tar.gz cpython-0d88c652318c4c5eed77fd2e78e9e955ffa5c8d1.tar.bz2 |
Backport test_gdb fix for s390x buildbots
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_gdb.py | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/Lib/test/test_gdb.py b/Lib/test/test_gdb.py index 78fc55c..cd7d292 100644 --- a/Lib/test/test_gdb.py +++ b/Lib/test/test_gdb.py @@ -198,27 +198,17 @@ class DebuggerTests(unittest.TestCase): # Ignore some benign messages on stderr. ignore_patterns = ( 'Function "%s" not defined.' % breakpoint, - "warning: no loadable sections found in added symbol-file" - " system-supplied DSO", - "warning: Unable to find libthread_db matching" - " inferior's thread library, thread debugging will" - " not be available.", - "warning: Cannot initialize thread debugging" - " library: Debugger service failed", - 'warning: Could not load shared library symbols for ' - 'linux-vdso.so', - 'warning: Could not load shared library symbols for ' - 'linux-gate.so', - 'warning: Could not load shared library symbols for ' - 'linux-vdso64.so', 'Do you need "set solib-search-path" or ' '"set sysroot"?', - 'warning: Source file is more recent than executable.', - # Issue #19753: missing symbols on System Z - 'Missing separate debuginfo for ', - 'Try: zypper install -C ', + # BFD: /usr/lib/debug/(...): unable to initialize decompress + # status for section .debug_aranges + 'BFD: ', + # ignore all warnings + 'warning: ', ) for line in errlines: + if not line: + continue if not line.startswith(ignore_patterns): unexpected_errlines.append(line) |