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
305bff1e
Kaydet (Commit)
305bff1e
authored
Nis 01, 2011
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #11727: set regrtest default timeout to 15 minutes
üst
44378d46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
regrtest.py
Lib/test/regrtest.py
+3
-2
NEWS
Misc/NEWS
+3
-1
No files found.
Lib/test/regrtest.py
Dosyayı görüntüle @
305bff1e
...
@@ -22,7 +22,8 @@ Options:
...
@@ -22,7 +22,8 @@ Options:
-h/--help -- print this text and exit
-h/--help -- print this text and exit
--timeout TIMEOUT
--timeout TIMEOUT
-- dump the traceback and exit if a test takes more
-- dump the traceback and exit if a test takes more
than TIMEOUT seconds
than TIMEOUT seconds (default: 15 minutes); disable
the timeout if TIMEOUT is zero
Verbosity
Verbosity
...
@@ -239,7 +240,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
...
@@ -239,7 +240,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
findleaks
=
False
,
use_resources
=
None
,
trace
=
False
,
coverdir
=
'coverage'
,
findleaks
=
False
,
use_resources
=
None
,
trace
=
False
,
coverdir
=
'coverage'
,
runleaks
=
False
,
huntrleaks
=
False
,
verbose2
=
False
,
print_slow
=
False
,
runleaks
=
False
,
huntrleaks
=
False
,
verbose2
=
False
,
print_slow
=
False
,
random_seed
=
None
,
use_mp
=
None
,
verbose3
=
False
,
forever
=
False
,
random_seed
=
None
,
use_mp
=
None
,
verbose3
=
False
,
forever
=
False
,
header
=
False
,
timeout
=
None
):
header
=
False
,
timeout
=
15
*
60
):
"""Execute a test suite.
"""Execute a test suite.
This also parses command-line options and modifies its behavior
This also parses command-line options and modifies its behavior
...
...
Misc/NEWS
Dosyayı görüntüle @
305bff1e
...
@@ -361,7 +361,9 @@ Extensions
...
@@ -361,7 +361,9 @@ Extensions
Tests
Tests
-----
-----
-
Issue
#
11727
:
add
--
timeout
option
to
regrtest
(
disabled
by
default
).
-
Issue
#
11727
:
If
a
test
takes
more
than
15
minutes
,
regrtest
dumps
the
traceback
of
all
threads
and
exits
.
Use
--
timeout
option
to
change
the
default
timeout
or
to
disable
it
.
-
Issue
#
11653
:
fix
-
W
with
-
j
in
regrtest
.
-
Issue
#
11653
:
fix
-
W
with
-
j
in
regrtest
.
...
...
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