From 3698746585c1e06d43f231da51175dabba35250f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 23 Jul 2007 02:57:24 +0000 Subject: [PATCH] Add a command line option to set the -u flag. --- runtests.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/runtests.sh b/runtests.sh index 837aab2ee1d..25303904b84 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