summaryrefslogtreecommitdiffstats
path: root/runtests.sh
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-09-28 22:25:18 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-09-28 22:25:18 (GMT)
commitb78b4893a92b10e41fdcedd72be0d310fa31988d (patch)
treeb259166e66df239a4a58da0d8abb42d03cd3f4db /runtests.sh
parentc8f0196454d9a949aef7c55d6d292b497ab27d28 (diff)
downloadcpython-b78b4893a92b10e41fdcedd72be0d310fa31988d.zip
cpython-b78b4893a92b10e41fdcedd72be0d310fa31988d.tar.gz
cpython-b78b4893a92b10e41fdcedd72be0d310fa31988d.tar.bz2
#9628: fix runtests.sh -x option so more than one test can be excluded.
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtests.sh b/runtests.sh
index 2d3cfc8..d7b4646 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -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")`
;;
*)