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

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.
........
parent 6db43fdb
...@@ -611,6 +611,7 @@ Build ...@@ -611,6 +611,7 @@ Build
Tests 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. - Issue #9894: Do not hardcode ENOENT in test_subprocess.
......
...@@ -55,7 +55,7 @@ case "$#$EXCEPT" in ...@@ -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")`
;; ;;
*) *)
......
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