aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-21 05:46:15 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-21 05:46:15 +0000
commit44545470c0eaf520763107c5d1d298bc872c802f (patch)
tree8c9a2f124c94286eb9d2b5b2b7ca8dbf311b1a32 /tests
parente550dff27204b473ab426807f918672951d17505 (diff)
downloadprosody-44545470c0eaf520763107c5d1d298bc872c802f.tar.gz
prosody-44545470c0eaf520763107c5d1d298bc872c802f.zip
Update test.lua with a work-in-progress
Diffstat (limited to 'tests')
-rw-r--r--tests/test.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test.lua b/tests/test.lua
index b3d53589..33af3e98 100644
--- a/tests/test.lua
+++ b/tests/test.lua
@@ -75,12 +75,12 @@ function dotest(unitname)
if not success then
print("TEST FAILED! Unit: ["..unitname.."] Function: ["..name.."]");
print(" Location: "..ret:gsub(":%s*\n", "\n"));
- line_info(name, false);
+ line_info(name, false, report_file);
elseif verbosity >= 2 then
print("TEST SUCCEEDED: ", unitname, name);
- print(string.format("TEST COVERED %d/%d lines", line_info(name, true)));
+ print(string.format("TEST COVERED %d/%d lines", line_info(name, true, report_file)));
else
- line_info(name, success);
+ line_info(name, success, report_file);
end
end
end