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
6dad8f89
Kaydet (Commit)
6dad8f89
authored
Eyl 02, 2015
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
test_gdb: add debug info to investigate failure on "s390x SLES 3.x" buildbot
üst
1101c587
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
test_gdb.py
Lib/test/test_gdb.py
+7
-3
No files found.
Lib/test/test_gdb.py
Dosyayı görüntüle @
6dad8f89
...
@@ -28,9 +28,13 @@ except OSError:
...
@@ -28,9 +28,13 @@ except OSError:
# This is what "no gdb" looks like. There may, however, be other
# This is what "no gdb" looks like. There may, however, be other
# errors that manifest this way too.
# errors that manifest this way too.
raise
unittest
.
SkipTest
(
"Couldn't find gdb on the path"
)
raise
unittest
.
SkipTest
(
"Couldn't find gdb on the path"
)
gdb_version_number
=
re
.
search
(
b
"^GNU gdb [^
\
d]*(
\
d+)
\
.(
\
d)"
,
gdb_version
)
try
:
gdb_major_version
=
int
(
gdb_version_number
.
group
(
1
))
gdb_version_number
=
re
.
search
(
b
"^GNU gdb [^
\
d]*(
\
d+)
\
.(
\
d)"
,
gdb_version
)
gdb_minor_version
=
int
(
gdb_version_number
.
group
(
2
))
gdb_major_version
=
int
(
gdb_version_number
.
group
(
1
))
gdb_minor_version
=
int
(
gdb_version_number
.
group
(
2
))
except
Exception
:
raise
ValueError
(
"unable to parse GDB version:
%
r"
%
gdb_version
)
if
gdb_major_version
<
7
:
if
gdb_major_version
<
7
:
raise
unittest
.
SkipTest
(
"gdb versions before 7.0 didn't support python embedding"
raise
unittest
.
SkipTest
(
"gdb versions before 7.0 didn't support python embedding"
" Saw:
\n
"
+
gdb_version
.
decode
(
'ascii'
,
'replace'
))
" Saw:
\n
"
+
gdb_version
.
decode
(
'ascii'
,
'replace'
))
...
...
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