mirror of https://github.com/python/cpython.git
#9628: fix runtests.sh -x option so more than one test can be excluded.
This commit is contained in:
parent
c8f0196454
commit
b78b4893a9
|
@ -260,6 +260,8 @@ Tools/Demos
|
||||||
Tests
|
Tests
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #9628: fix runtests.sh -x option so more than one test can be excluded.
|
||||||
|
|
||||||
- Issue #9899: Fix test_tkinter.test_font on various platforms. Patch by
|
- Issue #9899: Fix test_tkinter.test_font on various platforms. Patch by
|
||||||
Ned Deily.
|
Ned Deily.
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ case "$#$EXCEPT" in
|
||||||
TESTS=`(cd Lib/test; ls test_*.py | sed 's/\.py//')`
|
TESTS=`(cd Lib/test; ls test_*.py | sed 's/\.py//')`
|
||||||
;;
|
;;
|
||||||
*-x)
|
*-x)
|
||||||
PAT="^(`echo $@ | sed 's/\.py//' | sed 's/ /|/'`)$"
|
PAT="^(`echo $@ | sed 's/\.py//g' | sed 's/ /|/g'`)$"
|
||||||
TESTS=`(cd Lib/test; ls test_*.py | sed 's/\.py//' | egrep -v "$PAT")`
|
TESTS=`(cd Lib/test; ls test_*.py | sed 's/\.py//' | egrep -v "$PAT")`
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue