Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b78b489

Browse files
committed
#9628: fix runtests.sh -x option so more than one test can be excluded.
1 parent c8f0196 commit b78b489

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ Tools/Demos
260260
Tests
261261
-----
262262

263+
- Issue #9628: fix runtests.sh -x option so more than one test can be excluded.
264+
263265
- Issue #9899: Fix test_tkinter.test_font on various platforms. Patch by
264266
Ned Deily.
265267

runtests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ case "$#$EXCEPT" in
5555
TESTS=`(cd Lib/test; ls test_*.py | sed 's/\.py//')`
5656
;;
5757
*-x)
58-
PAT="^(`echo $@ | sed 's/\.py//' | sed 's/ /|/'`)$"
58+
PAT="^(`echo $@ | sed 's/\.py//g' | sed 's/ /|/g'`)$"
5959
TESTS=`(cd Lib/test; ls test_*.py | sed 's/\.py//' | egrep -v "$PAT")`
6060
;;
6161
*)

0 commit comments

Comments
 (0)