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
f48ea7c2
Kaydet (Commit)
f48ea7c2
authored
Tem 08, 2010
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #8605: Skip test_gdb if Python is compiled with optimizations.
üst
247900ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
test_gdb.py
Lib/test/test_gdb.py
+10
-0
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_gdb.py
Dosyayı görüntüle @
f48ea7c2
...
@@ -9,6 +9,7 @@ import subprocess
...
@@ -9,6 +9,7 @@ import subprocess
import
sys
import
sys
import
unittest
import
unittest
import
locale
import
locale
import
sysconfig
from
test.support
import
run_unittest
,
findfile
from
test.support
import
run_unittest
,
findfile
...
@@ -664,6 +665,15 @@ class PyLocalsTests(DebuggerTests):
...
@@ -664,6 +665,15 @@ class PyLocalsTests(DebuggerTests):
r".*\na = 1\nb = 2\nc = 3\n.*"
)
r".*\na = 1\nb = 2\nc = 3\n.*"
)
def
test_main
():
def
test_main
():
cflags
=
sysconfig
.
get_config_vars
()[
'PY_CFLAGS'
]
final_opt
=
""
for
opt
in
cflags
.
split
():
if
opt
.
startswith
(
'-O'
):
final_opt
=
opt
if
final_opt
and
final_opt
!=
'-O0'
:
raise
unittest
.
SkipTest
(
"Python was built with compiler optimizations, "
"tests can't reliably succeed"
)
run_unittest
(
PrettyPrintTests
,
run_unittest
(
PrettyPrintTests
,
PyListTests
,
PyListTests
,
StackNavigationTests
,
StackNavigationTests
,
...
...
Misc/NEWS
Dosyayı görüntüle @
f48ea7c2
...
@@ -1614,6 +1614,8 @@ Documentation
...
@@ -1614,6 +1614,8 @@ Documentation
Tests
Tests
-----
-----
- Issue #8605: Skip test_gdb if Python is compiled with optimizations.
- Issue #7449: Skip test_socketserver if threading support is disabled
- Issue #7449: Skip test_socketserver if threading support is disabled
- Issue #8672: Add a zlib test ensuring that an incomplete stream can be
- Issue #8672: Add a zlib test ensuring that an incomplete stream can be
...
...
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