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
@@ -48,6 +49,10 @@ def get_gdb_version():
48
49
if not sysconfig .is_python_build ():
49
50
raise unittest .SkipTest ("test_gdb only works on source builds at the moment." )
50
51
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
+
51
56
# Location of custom hooks file in a repository checkout.
52
57
checkout_hook_path = os .path .join (os .path .dirname (sys .executable ),
53
58
'python-gdb.py' )
Original file line number Diff line number Diff line change @@ -1136,6 +1136,7 @@ Samuel Nicolary
1136
1136
Jonathan Niehof
1137
1137
Gustavo Niemeyer
1138
1138
Oscar Nierstrasz
1139
+ Lysandros Nikolaou
1139
1140
Hrvoje Nikšić
1140
1141
Gregory Nofi
1141
1142
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