aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-15 23:22:27 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-15 23:22:27 +0000
commit669f7ac76a808c91bad5b6b144e459f9144954e8 (patch)
tree54cd29d831ddf750976c9fcedae8308bf687adbb /tests/test.lua
parent60292ade15292d2398d91a1af6a578d6a20c9f34 (diff)
parentfa063a029970ee01ce8307643e334fb1d33a8a74 (diff)
downloadprosody-669f7ac76a808c91bad5b6b144e459f9144954e8.tar.gz
prosody-669f7ac76a808c91bad5b6b144e459f9144954e8.zip
Merge with myself (!)
Diffstat (limited to 'tests/test.lua')
-rw-r--r--tests/test.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test.lua b/tests/test.lua
index c0a27abd..c028e859 100644
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -71,6 +71,7 @@ function dotest(unitname)
end
function runtest(f, msg)
+ if not f then print("SUBTEST NOT FOUND: "..(msg or "(no description)")); return; end
local success, ret = pcall(f);
if success and verbosity >= 2 then
print("SUBTEST PASSED: "..(msg or "(no description)"));