Changeset

2246:eb047fe305aa

tests/test.lua: Print the current test being run if verbosity sufficient
author Matthew Wild <mwild1@gmail.com>
date Fri, 27 Nov 2009 17:39:17 +0000
parents 2245:df9e18f5c808
children 2247:f62af2a9974e
files tests/test.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test.lua	Fri Nov 27 17:33:55 2009 +0000
+++ b/tests/test.lua	Fri Nov 27 17:39:17 2009 +0000
@@ -149,6 +149,9 @@
 				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);