From eb5920a107322fc793eeec4adbe469e09b05e2d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Fri, 25 Nov 2005 14:09:40 +0100
Subject: [PATCH] New -v option, propagated to test programs.

Rev: misc/run-tests:1.4
---
 run-tests | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/run-tests b/run-tests
index 3aabe868..a15c744c 100755
--- a/run-tests
+++ b/run-tests
@@ -4,6 +4,7 @@ failed=0
 all=0
 
 debug='no'
+testflags=''
 
 if [ -z "$srcdir" ] ; then
   srcdir=`pwd`
@@ -31,7 +32,7 @@ env_program () {
 test_program () {
   testname=`basename "$1" .exe`
   testname=`basename "$testname" -test`
-  "$1"
+  "$1" $testflags
   case "$?" in
       0)
     	echo PASS: $testname
@@ -56,6 +57,9 @@ do
   --debug)
     debug=yes
     ;;
+  -v)
+    testflags='-v'
+    ;;
   -*)
     echo >&2 'Unknown option `'"$1'" 
     exit 1
-- 
GitLab