Skip to content
Snippets Groups Projects
Commit eb5920a1 authored by Niels Möller's avatar Niels Möller
Browse files

New -v option, propagated to test programs.

Rev: misc/run-tests:1.4
parent eb13d978
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment