Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 893305 Details for
Bug 1095355
python3 test_gdb failure on ppc64le archi
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
python3.test_gdb_match_addr_before_builtin.patch
python3.test_gdb_match_addr_before_builtin.patch (text/x-c), 1.49 KB, created by
Michel Normand
on 2014-05-07 14:23:15 UTC
(
hide
)
Description:
python3.test_gdb_match_addr_before_builtin.patch
Filename:
MIME Type:
Creator:
Michel Normand
Created:
2014-05-07 14:23:15 UTC
Size:
1.49 KB
patch
obsolete
>Subject: python3.test gdb match addr before builtin >From: Michel Normand <normand@linux.vnet.ibm.com> > >For ppc64le archi and python3... and gdb... versions >the test_gdb.py need a change of re.match to handle address before the builtin_id word. >Of course there is no error if this substring is not present. >=== >... >#0 0x00003fffb7dd0898 in builtin_id (self=<module at remote 0x3fffb7901440>, v=<unknown at remote 0x3fffb7f68910>) at /builddir/build/BUILD/Python-3.3.2/Python/bltinmodule.c:966 >....xxxxxxxxxxxxxxxxxxxxxx <= added regexp >=== > >Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com> >--- > Lib/test/test_gdb.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >Index: Python-3.3.2/Lib/test/test_gdb.py >=================================================================== >--- Python-3.3.2.orig/Lib/test/test_gdb.py >+++ Python-3.3.2/Lib/test/test_gdb.py >@@ -230,7 +230,7 @@ class DebuggerTests(unittest.TestCase): > # gdb can insert additional '\n' and space characters in various places > # in its output, depending on the width of the terminal it's connected > # to (using its "wrap_here" function) >- m = re.match('.*#0\s+builtin_id\s+\(self\=.*,\s+v=\s*(.*?)\)\s+at\s+\S*Python/bltinmodule.c.*', >+ m = re.match('.*#0\s+(?: 0x[0-9a-f]+\s+in\s+)?builtin_id\s+\(self\=.*,\s+v=\s*(.*?)\)\s+at\s+\S*Python/bltinmodule.c.*', > gdb_output, re.DOTALL) > if not m: > self.fail('Unexpected gdb output: %r\n%s' % (gdb_output, gdb_output))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1095355
: 893305