Merged revisions 85078 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85078 | r.david.murray | 2010-09-28 18:25:18 -0400 (Tue, 28 Sep 2010) | 2 lines

  #9628: fix runtests.sh -x option so more than one test can be excluded.
........
This commit is contained in:
R. David Murray 2010-09-28 22:34:03 +00:00
parent 6db43fdb3b
commit a0a89b9006
2 changed files with 2 additions and 1 deletions

View File

@ -611,6 +611,7 @@ Build
Tests
-----
- Issue #9628: fix runtests.sh -x option so more than one test can be excluded.
- Issue #9894: Do not hardcode ENOENT in test_subprocess.

View File

@ -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")`
;;
*)