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 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 @@ -1147,6 +1147,7 @@ Samuel Nicolary
1147
1147
Jonathan Niehof
1148
1148
Gustavo Niemeyer
1149
1149
Oscar Nierstrasz
1150
+ Lysandros Nikolaou
1150
1151
Hrvoje Nikšić
1151
1152
Gregory Nofi
1152
1153
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