Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
6de4574c
Unverified
Kaydet (Commit)
6de4574c
authored
May 24, 2019
tarafından
Steve Dower
Kaydeden (comit)
GitHub
May 24, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-37023: Skip test_gdb under PGO (GH-13555)
üst
14738ff8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
test_gdb.py
Lib/test/test_gdb.py
+5
-1
No files found.
Lib/test/test_gdb.py
Dosyayı görüntüle @
6de4574c
...
@@ -52,6 +52,10 @@ if 'Clang' in platform.python_compiler() and sys.platform == 'darwin':
...
@@ -52,6 +52,10 @@ if 'Clang' in platform.python_compiler() and sys.platform == 'darwin':
raise
unittest
.
SkipTest
(
"test_gdb doesn't work correctly when python is"
raise
unittest
.
SkipTest
(
"test_gdb doesn't work correctly when python is"
" built with LLVM clang"
)
" built with LLVM clang"
)
if
((
sysconfig
.
get_config_var
(
'PGO_PROF_USE_FLAG'
)
or
'xxx'
)
in
(
sysconfig
.
get_config_var
(
'PY_CORE_CFLAGS'
)
or
''
)):
raise
unittest
.
SkipTest
(
"test_gdb is not reliable on PGO builds"
)
# Location of custom hooks file in a repository checkout.
# Location of custom hooks file in a repository checkout.
checkout_hook_path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
sys
.
executable
),
checkout_hook_path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
sys
.
executable
),
'python-gdb.py'
)
'python-gdb.py'
)
...
@@ -272,7 +276,7 @@ class DebuggerTests(unittest.TestCase):
...
@@ -272,7 +276,7 @@ class DebuggerTests(unittest.TestCase):
# gdb can insert additional '\n' and space characters in various places
# gdb can insert additional '\n' and space characters in various places
# in its output, depending on the width of the terminal it's connected
# in its output, depending on the width of the terminal it's connected
# to (using its "wrap_here" function)
# to (using its "wrap_here" function)
m
=
re
.
match
(
r'.*#0\s+builtin_id\s+\(self\=.*,\s+v=\s*(.*?)\)\s+at\s+\S*Python/bltinmodule.c.*'
,
m
=
re
.
match
(
r'.*#0\s+builtin_id\s+\(self\=.*,\s+v=\s*(.*?)
?
\)\s+at\s+\S*Python/bltinmodule.c.*'
,
gdb_output
,
re
.
DOTALL
)
gdb_output
,
re
.
DOTALL
)
if
not
m
:
if
not
m
:
self
.
fail
(
'Unexpected gdb output:
%
r
\n
%
s'
%
(
gdb_output
,
gdb_output
))
self
.
fail
(
'Unexpected gdb output:
%
r
\n
%
s'
%
(
gdb_output
,
gdb_output
))
...
...
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