Staging
v0.8.1
https://github.com/python/cpython
Revision 46e299c1536da541b9dbf76c0cb909bf8c79f589 authored by Victor Stinner on 16 June 2017, 16:04:38 UTC, committed by GitHub on 16 June 2017, 16:04:38 UTC
* bpo-30540: regrtest: add --matchfile option

* Add a new option taking a filename to get a list of test names to
  filter tests.
* support.match_tests becomes a list.
* Modify run_unittest() to accept to match the whole test identifier,
  not just a part of a test identifier.

For example, the following command only runs test_access()
of the FileTests class of test_os:

$ ./python -m test -v -m test.test_os.FileTests.test_access test_os

* bpo-30523: regrtest: Add --list-cases option

* Add --list-cases option to regrtest
* Add get_abs_module() function, use it in list_cases()
* Add ns mandatory positional argument to runtest()
  and runtest_inner()
* Add file optional parameter to printlist()

Co-Authored-By: Louie Lu <git@louie.lu>
1 parent f50a3b1
History
Tip revision: 46e299c1536da541b9dbf76c0cb909bf8c79f589 authored by Victor Stinner on 16 June 2017, 16:04:38 UTC
[3.5] bpo-30540, bpo-30523: Add --matchfile and --list-cases options to regrtest (#2250)
Tip revision: 46e299c
File Mode Size
clinic
stringlib
README -rw-r--r-- 41 bytes
abstract.c -rw-r--r-- 71.4 KB
accu.c -rw-r--r-- 2.4 KB
boolobject.c -rw-r--r-- 6.5 KB
bytearrayobject.c -rw-r--r-- 94.0 KB
bytes_methods.c -rw-r--r-- 8.8 KB
bytesobject.c -rw-r--r-- 109.1 KB
capsule.c -rw-r--r-- 7.2 KB
cellobject.c -rw-r--r-- 4.8 KB
classobject.c -rw-r--r-- 18.7 KB
codeobject.c -rw-r--r-- 24.4 KB
complexobject.c -rw-r--r-- 31.4 KB
descrobject.c -rw-r--r-- 54.0 KB
dict-common.h -rw-r--r-- 548 bytes
dictnotes.txt -rw-r--r-- 6.0 KB
dictobject.c -rw-r--r-- 119.2 KB
enumobject.c -rw-r--r-- 12.7 KB
exceptions.c -rw-r--r-- 85.6 KB
fileobject.c -rw-r--r-- 15.4 KB
floatobject.c -rw-r--r-- 65.9 KB
frameobject.c -rw-r--r-- 32.3 KB
funcobject.c -rw-r--r-- 30.4 KB
genobject.c -rw-r--r-- 37.4 KB
iterobject.c -rw-r--r-- 9.1 KB
listobject.c -rw-r--r-- 86.3 KB
listsort.txt -rw-r--r-- 34.9 KB
lnotab_notes.txt -rw-r--r-- 5.3 KB
longobject.c -rw-r--r-- 160.8 KB
memoryobject.c -rw-r--r-- 89.3 KB
methodobject.c -rw-r--r-- 11.2 KB
moduleobject.c -rw-r--r-- 22.1 KB
namespaceobject.c -rw-r--r-- 7.3 KB
object.c -rw-r--r-- 56.8 KB
obmalloc.c -rw-r--r-- 78.0 KB
odictobject.c -rw-r--r-- 76.4 KB
rangeobject.c -rw-r--r-- 37.5 KB
setobject.c -rw-r--r-- 70.2 KB
sliceobject.c -rw-r--r-- 19.2 KB
structseq.c -rw-r--r-- 12.9 KB
tupleobject.c -rw-r--r-- 29.8 KB
typeobject.c -rw-r--r-- 228.9 KB
typeslots.inc -rw-r--r-- 3.9 KB
typeslots.py -rwxr-xr-x 1.2 KB
unicodectype.c -rw-r--r-- 7.5 KB
unicodeobject.c -rw-r--r-- 448.8 KB
unicodetype_db.h -rw-r--r-- 229.3 KB
weakrefobject.c -rw-r--r-- 29.5 KB

README

back to top