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
d6f45b23
Unverified
Kaydet (Commit)
d6f45b23
authored
Ara 31, 2018
tarafından
Gregory P. Smith
Kaydeden (comit)
GitHub
Ara 31, 2018
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix typos in test_faulthandler skipIfs for ubsan. (GH-11386)
üst
6f9bc72c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
test_faulthandler.py
Lib/test/test_faulthandler.py
+4
-4
No files found.
Lib/test/test_faulthandler.py
Dosyayı görüntüle @
d6f45b23
...
@@ -23,11 +23,11 @@ MS_WINDOWS = (os.name == 'nt')
...
@@ -23,11 +23,11 @@ MS_WINDOWS = (os.name == 'nt')
_cflags
=
sysconfig
.
get_config_var
(
'CFLAGS'
)
or
''
_cflags
=
sysconfig
.
get_config_var
(
'CFLAGS'
)
or
''
_config_args
=
sysconfig
.
get_config_var
(
'CONFIG_ARGS'
)
or
''
_config_args
=
sysconfig
.
get_config_var
(
'CONFIG_ARGS'
)
or
''
UB_SANITIZER
=
(
UB_SANITIZER
=
(
'-fsanitize
r
=undefined'
in
_cflags
or
'-fsanitize=undefined'
in
_cflags
or
'--with-undefined-behavior-sanitizer'
in
_config_args
'--with-undefined-behavior-sanitizer'
in
_config_args
)
)
MEMORY_SANITIZER
=
(
MEMORY_SANITIZER
=
(
'-fsanitize
r
=memory'
in
_cflags
or
'-fsanitize=memory'
in
_cflags
or
'--with-memory-sanitizer'
in
_config_args
'--with-memory-sanitizer'
in
_config_args
)
)
...
@@ -265,7 +265,7 @@ class FaultHandlerTests(unittest.TestCase):
...
@@ -265,7 +265,7 @@ class FaultHandlerTests(unittest.TestCase):
'Segmentation fault'
)
'Segmentation fault'
)
@unittest.skipIf
(
UB_SANITIZER
or
MEMORY_SANITIZER
,
@unittest.skipIf
(
UB_SANITIZER
or
MEMORY_SANITIZER
,
"sanizer builds change crashing process output."
)
"sani
ti
zer builds change crashing process output."
)
@skip_segfault_on_android
@skip_segfault_on_android
def
test_enable_file
(
self
):
def
test_enable_file
(
self
):
with
temporary_filename
()
as
filename
:
with
temporary_filename
()
as
filename
:
...
@@ -282,7 +282,7 @@ class FaultHandlerTests(unittest.TestCase):
...
@@ -282,7 +282,7 @@ class FaultHandlerTests(unittest.TestCase):
@unittest.skipIf
(
sys
.
platform
==
"win32"
,
@unittest.skipIf
(
sys
.
platform
==
"win32"
,
"subprocess doesn't support pass_fds on Windows"
)
"subprocess doesn't support pass_fds on Windows"
)
@unittest.skipIf
(
UB_SANITIZER
or
MEMORY_SANITIZER
,
@unittest.skipIf
(
UB_SANITIZER
or
MEMORY_SANITIZER
,
"sanizer builds change crashing process output."
)
"sani
ti
zer builds change crashing process output."
)
@skip_segfault_on_android
@skip_segfault_on_android
def
test_enable_fd
(
self
):
def
test_enable_fd
(
self
):
with
tempfile
.
TemporaryFile
(
'wb+'
)
as
fp
:
with
tempfile
.
TemporaryFile
(
'wb+'
)
as
fp
:
...
...
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