projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0f7cdc
)
tests/test.lua: Print the current test being run if verbosity sufficient
author
Matthew Wild
<mwild1@gmail.com>
Fri, 27 Nov 2009 17:39:17 +0000
(17:39 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 27 Nov 2009 17:39:17 +0000
(17:39 +0000)
tests/test.lua
patch
|
blob
|
history
diff --git
a/tests/test.lua
b/tests/test.lua
index f5976a0285b0d99c984a61b71da54503759d74aa..2762e42e4a2dece407f3917357d07b588155f354 100644
(file)
--- a/
tests/test.lua
+++ b/
tests/test.lua
@@
-149,6
+149,9
@@
function dotest(unitname)
print("WARNING: ", unitname.."."..name.." has no test!");
end
else
+ if verbosity >= 4 then
+ print("INFO: ", "Testing "..unitname.."."..name);
+ end
local line_hook, line_info = new_line_coverage_monitor(fn);
debug.sethook(line_hook, "l")
local success, ret = pcall(test, f, unit);