[Python-checkins] r85078 - in python/branches/py3k: Misc/NEWS runtests.sh

r.david.murray python-checkins at python.org
Wed Sep 29 00:25:18 CEST 2010


Author: r.david.murray
Date: Wed Sep 29 00:25:18 2010
New Revision: 85078

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


Modified:
   python/branches/py3k/Misc/NEWS
   python/branches/py3k/runtests.sh

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Wed Sep 29 00:25:18 2010
@@ -260,6 +260,8 @@
 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.
 

Modified: python/branches/py3k/runtests.sh
==============================================================================
--- python/branches/py3k/runtests.sh	(original)
+++ python/branches/py3k/runtests.sh	Wed Sep 29 00:25:18 2010
@@ -55,7 +55,7 @@
     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")`
     ;;
 *)


More information about the Python-checkins mailing list