Commit b78b4893 authored by R. David Murray's avatar R. David Murray

#9628: fix runtests.sh -x option so more than one test can be excluded.

parent c8f01964
......@@ -260,6 +260,8 @@ Tools/Demos
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
Ned Deily.
......
......@@ -55,7 +55,7 @@ case "$#$EXCEPT" in
TESTS=`(cd Lib/test; ls test_*.py | sed 's/\.py//')`
;;
*-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")`
;;
*)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment