summaryrefslogtreecommitdiffstats
path: root/runtests.sh
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-07-23 02:57:24 (GMT)
committerGuido van Rossum <guido@python.org>2007-07-23 02:57:24 (GMT)
commit3698746585c1e06d43f231da51175dabba35250f (patch)
treede46a08c54dd567dbe30caa3262bcab4cc95e2e3 /runtests.sh
parentaccecdf96937ff0e34fb136ae1196814e100982c (diff)
downloadcpython-3698746585c1e06d43f231da51175dabba35250f.zip
cpython-3698746585c1e06d43f231da51175dabba35250f.tar.gz
cpython-3698746585c1e06d43f231da51175dabba35250f.tar.bz2
Add a command line option to set the -u flag.
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/runtests.sh b/runtests.sh
index 837aab2..2530390 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -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