Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Wim Lewis
nettle
Commits
82323812
Commit
82323812
authored
Nov 20, 2005
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added --debug option. If used, the teardown-env
script is not run. Rev: misc/run-tests:1.3
parent
95da24d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
run-tests
run-tests
+22
-1
No files found.
run-tests
View file @
82323812
...
...
@@ -3,6 +3,8 @@
failed
=
0
all
=
0
debug
=
'no'
if
[
-z
"
$srcdir
"
]
;
then
srcdir
=
`
pwd
`
fi
...
...
@@ -48,6 +50,23 @@ test_program () {
env_program
`
find_program setup-env
`
while
test
$#
!=
0
do
case
"
$1
"
in
--debug
)
debug
=
yes
;;
-
*
)
echo
>
&2
'Unknown option `'
"
$1
'"
exit
1
;;
*
)
break
;;
esac
shift
done
if
[
$#
-eq
0
]
;
then
for
f
in
*
-test
;
do
test_program
"./
$f
"
;
done
else
...
...
@@ -64,7 +83,9 @@ echo "$dashes"
echo
"
$banner
"
echo
"
$dashes
"
env_program
`
find_program teardown-env
`
if
[
"x
$debug
"
=
xno
]
;
then
env_program
`
find_program teardown-env
`
fi
[
"
$failed
"
-eq
0
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment