Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
59668aa8
Commit
59668aa8
authored
Nov 04, 2018
by
Lysandros Nikolaou
Committed by
Ned Deily
Nov 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-21263: Skip test_gdb when python has been compiled with LLVM clang (GH-10318)
parent
c03bf0ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
Lib/test/test_gdb.py
Lib/test/test_gdb.py
+5
-0
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS.d/next/Tests/2018-11-04-20-17-09.bpo-21263.T3qo9r.rst
...EWS.d/next/Tests/2018-11-04-20-17-09.bpo-21263.T3qo9r.rst
+4
-0
No files found.
Lib/test/test_gdb.py
View file @
59668aa8
...
...
@@ -5,6 +5,7 @@
import
locale
import
os
import
platform
import
re
import
subprocess
import
sys
...
...
@@ -48,6 +49,10 @@ if gdb_major_version < 7:
if not sysconfig.is_python_build():
raise unittest.SkipTest("test_gdb only works on source builds at the moment.")
if '
Clang
' in platform.python_compiler() and sys.platform == '
darwin
':
raise unittest.SkipTest("test_gdb doesn'
t
work
correctly
when
python
is
"
"
built
with
LLVM
clang
")
# Location of custom hooks file in a repository checkout.
checkout_hook_path = os.path.join(os.path.dirname(sys.executable),
'python-gdb.py')
...
...
Misc/ACKS
View file @
59668aa8
...
...
@@ -1147,6 +1147,7 @@ Samuel Nicolary
Jonathan Niehof
Gustavo Niemeyer
Oscar Nierstrasz
Lysandros Nikolaou
Hrvoje Nikšić
Gregory Nofi
Jesse Noller
...
...
Misc/NEWS.d/next/Tests/2018-11-04-20-17-09.bpo-21263.T3qo9r.rst
0 → 100644
View file @
59668aa8
After several reports that test_gdb does not work properly on macOS and
since gdb is not shipped by default anymore, test_gdb is now skipped on
macOS when LLVM Clang has been used to compile Python. Patch by
Lysandros Nikolaou
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment