pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-07-29
2002-07-29 17:20:06 by Martin Nilsson <mani@lysator.liu.se>
b17a78f9b3c3482813dc2f9cc4ef66b3a470d23d (
31
lines) (+
4
/-
27
)
[
Show
|
Annotate
]
Branch:
7.9
Take verbosity level from the constant _verbose.
Rev: src/testsuite.in:1.526
1:
-
test_true([["$Id: testsuite.in,v 1.
525
2002/07/29
14
:
34
:
34
nilsson Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
526
2002/07/29
17
:
20
:
06
nilsson Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
1983:
{ werror("\nTesting vtables and scope access.\n");
-
string
testargs
=
getenv()->TESTARGS;
-
if(testargs &&
-
(has
_
value(testargs/" ", "-q") ||
-
has_value(testargs/" ", "-quiet") ) )
-
quiet=1
;
+
quiet
=
!
_
verbose
;
-
switch(getenv("TERM"))
-
{
-
case "dumb":
-
case "emacs":
-
quiet=1;
-
werror("Max depth: ");
-
}
-
+
int total_tests; for(maxdepth=1;maxdepth<9 && !errors;maxdepth++) {
5109:
// }}), });
-
int quiet
;
-
string testargs
=
getenv()->TESTARGS;
-
if(testargs &&
-
(has
_
value(testargs/" ", "-q") ||
-
has_value(testargs/" ", "-quiet") ) )
-
quiet=1
;
+
int quiet =
!
_
verbose
;
-
switch(getenv("TERM"))
-
{
-
case "dumb":
-
case "emacs":
-
quiet=1;
-
}
-
+
int tests_failed = 0; int tests = 0; for (int test = 0; test < sizeof (destruct_order_tests); test++) {