Source

cpython-withatomic / runtests.sh

Diff from to

runtests.sh

 *)      PYTHON=./python;;
 esac
 
+PYTHON="$PYTHON -bb"
+
 # Unset PYTHONPATH, just to be sure.
 unset PYTHONPATH
 
     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")`
     ;;
 *)