projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3823647
)
Small fix to change verbosity level of subtests
author
Matthew Wild
<mwild1@gmail.com>
Wed, 11 Feb 2009 19:50:58 +0000
(19:50 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 11 Feb 2009 19:50:58 +0000
(19:50 +0000)
tests/test.lua
patch
|
blob
|
history
diff --git
a/tests/test.lua
b/tests/test.lua
index 4d5fe3e8789a3cdb87b352c13213c890dcbf4c5f..3b99431477f34a9a4b448ad6f024d90d71bc46e2 100644
(file)
--- a/
tests/test.lua
+++ b/
tests/test.lua
@@
-163,7
+163,7
@@
function runtest(f, msg)
local success, ret = pcall(f);
if success and verbosity >= 2 then
print("SUBTEST PASSED: "..(msg or "(no description)"));
- elseif (not success) and verbosity >=
1
then
+ elseif (not success) and verbosity >=
0
then
print("SUBTEST FAILED: "..(msg or "(no description)"));
error(ret, 0);
end