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
772bf2ed
Kaydet (Commit)
772bf2ed
authored
Ara 19, 2016
tarafından
Xiang Zhang
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #28950: Disallow -j0 combined with -T/-l in regrtest.
üst
01e4c117
270a21fd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
cmdline.py
Lib/test/libregrtest/cmdline.py
+2
-2
regrtest.py
Lib/test/regrtest.py
+0
-0
test_regrtest.py
Lib/test/test_regrtest.py
+2
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/libregrtest/cmdline.py
Dosyayı görüntüle @
772bf2ed
...
...
@@ -301,9 +301,9 @@ def _parse_args(args, **kwargs):
if
ns
.
single
and
ns
.
fromfile
:
parser
.
error
(
"-s and -f don't go together!"
)
if
ns
.
use_mp
and
ns
.
trace
:
if
ns
.
use_mp
is
not
None
and
ns
.
trace
:
parser
.
error
(
"-T and -j don't go together!"
)
if
ns
.
use_mp
and
ns
.
findleaks
:
if
ns
.
use_mp
is
not
None
and
ns
.
findleaks
:
parser
.
error
(
"-l and -j don't go together!"
)
if
ns
.
failfast
and
not
(
ns
.
verbose
or
ns
.
verbose3
):
parser
.
error
(
"-G/--failfast needs either -v or -W"
)
...
...
Lib/test/regrtest.py
100644 → 100755
Dosyayı görüntüle @
772bf2ed
File mode changed from 100644 to 100755
Lib/test/test_regrtest.py
Dosyayı görüntüle @
772bf2ed
...
...
@@ -226,6 +226,8 @@ class ParseArgsTestCase(unittest.TestCase):
self
.
checkError
([
opt
,
'foo'
],
'invalid int value'
)
self
.
checkError
([
opt
,
'2'
,
'-T'
],
"don't go together"
)
self
.
checkError
([
opt
,
'2'
,
'-l'
],
"don't go together"
)
self
.
checkError
([
opt
,
'0'
,
'-T'
],
"don't go together"
)
self
.
checkError
([
opt
,
'0'
,
'-l'
],
"don't go together"
)
def
test_coverage
(
self
):
for
opt
in
'-T'
,
'--coverage'
:
...
...
Misc/NEWS
Dosyayı görüntüle @
772bf2ed
...
...
@@ -66,6 +66,9 @@ Windows
Tests
-----
- Issue #28950: Disallow -j0 to be combined with -T/-l in regrtest
command line arguments.
- Issue #28683: Fix the tests that bind() a unix socket and raise
PermissionError on Android for a non-root user.
...
...
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