]> granicus.if.org Git - python/commitdiff
Add a command line option to set the -u flag.
authorGuido van Rossum <guido@python.org>
Mon, 23 Jul 2007 02:57:24 +0000 (02:57 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 23 Jul 2007 02:57:24 +0000 (02:57 +0000)
runtests.sh

index 837aab2ee1d93b80f3fb1f5896f9dba6c391b1e7..25303904b84fe8a1d9bddbb8740905cf28b5bd37 100755 (executable)
@@ -25,8 +25,14 @@ mkdir -p OUT
 >BAD
 >SKIPPED
 
-# The -u flag (edit this file to change).
+# The -u flag.
 UFLAG=""
+case $1 in
+-u)
+    UFLAG="$1 $2"; shift; shift;;
+-u*)
+    UFLAG="$1"; shift;;
+esac
 
 # Compute the list of tests to run.
 case $# in