# HG changeset patch # User Matthew Wild # Date 1227246375 0 # Node ID 9ade55e059ea1dc69cd6854c08414fe67a7ed4c5 # Parent 42de92add67bbe5cd8daf4e1988fdb6b76ec2af7 Update test.lua with a work-in-progress diff -r 42de92add67b -r 9ade55e059ea tests/test.lua --- a/tests/test.lua Fri Nov 21 05:07:41 2008 +0000 +++ b/tests/test.lua Fri Nov 21 05:46:15 2008 +0000 @@ -75,12 +75,12 @@ 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