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
d39dbf4c
Kaydet (Commit)
d39dbf4c
authored
Eyl 10, 2017
tarafından
Antoine Pitrou
Kaydeden (comit)
GitHub
Eyl 10, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Simplify run_tests.py (#3482)
üst
8b57d736
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
run_tests.py
Tools/scripts/run_tests.py
+1
-5
No files found.
Tools/scripts/run_tests.py
Dosyayı görüntüle @
d39dbf4c
...
...
@@ -10,10 +10,6 @@ simply passing a -u option to this script.
import
os
import
sys
import
test.support
try
:
import
threading
except
ImportError
:
threading
=
None
def
is_multiprocess_flag
(
arg
):
...
...
@@ -43,7 +39,7 @@ def main(regrtest_args):
])
if
sys
.
platform
==
'win32'
:
args
.
append
(
'-n'
)
# Silence alerts under Windows
if
threading
and
not
any
(
is_multiprocess_flag
(
arg
)
for
arg
in
regrtest_args
):
if
not
any
(
is_multiprocess_flag
(
arg
)
for
arg
in
regrtest_args
):
args
.
extend
([
'-j'
,
'0'
])
# Use all CPU cores
if
not
any
(
is_resource_use_flag
(
arg
)
for
arg
in
regrtest_args
):
args
.
extend
([
'-u'
,
'all,-largefile,-audio,-gui'
])
...
...
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