File tree 3 files changed +10
-0
lines changed
3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 5
5
6
6
import locale
7
7
import os
8
+ import platform
8
9
import re
9
10
import subprocess
10
11
import sys
@@ -54,6 +55,10 @@ def get_gdb_version():
54
55
if not sysconfig .is_python_build ():
55
56
raise unittest .SkipTest ("test_gdb only works on source builds at the moment." )
56
57
58
+ if 'Clang' in platform .python_compiler () and sys .platform == 'darwin' :
59
+ raise unittest .SkipTest ("test_gdb doesn't work correctly when python is"
60
+ " built with LLVM clang" )
61
+
57
62
# Location of custom hooks file in a repository checkout.
58
63
checkout_hook_path = os .path .join (os .path .dirname (sys .executable ),
59
64
'python-gdb.py' )
Original file line number Diff line number Diff line change @@ -1107,6 +1107,7 @@ Samuel Nicolary
1107
1107
Jonathan Niehof
1108
1108
Gustavo Niemeyer
1109
1109
Oscar Nierstrasz
1110
+ Lysandros Nikolaou
1110
1111
Hrvoje Nikšić
1111
1112
Gregory Nofi
1112
1113
Jesse 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