File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 55
66import locale
77import os
8+ import platform
89import re
910import subprocess
1011import sys
@@ -48,6 +49,10 @@ def get_gdb_version():
4849if not sysconfig .is_python_build ():
4950 raise unittest .SkipTest ("test_gdb only works on source builds at the moment." )
5051
52+ if 'Clang' in platform .python_compiler () and sys .platform == 'darwin' :
53+ raise unittest .SkipTest ("test_gdb doesn't work correctly when python is"
54+ " built with LLVM clang" )
55+
5156# Location of custom hooks file in a repository checkout.
5257checkout_hook_path = os .path .join (os .path .dirname (sys .executable ),
5358 'python-gdb.py' )
Original file line number Diff line number Diff line change @@ -1147,6 +1147,7 @@ Samuel Nicolary
11471147Jonathan Niehof
11481148Gustavo Niemeyer
11491149Oscar Nierstrasz
1150+ Lysandros Nikolaou
11501151Hrvoje Nikšić
11511152Gregory Nofi
11521153Jesse Noller
Original file line number Diff line number Diff line change 1+ After several reports that test_gdb does not work properly on macOS and
2+ since gdb is not shipped by default anymore, test_gdb is now skipped on
3+ macOS when LLVM Clang has been used to compile Python. Patch by
4+ Lysandros Nikolaou
You can’t perform that action at this time.
0 commit comments