# HG changeset patch # User Matthew Wild # Date 1259343557 0 # Node ID eb047fe305aa7863a315a3da7ead09b921a07d50 # Parent df9e18f5c808085331cd97730436a33a1382c86e tests/test.lua: Print the current test being run if verbosity sufficient diff -r df9e18f5c808 -r eb047fe305aa tests/test.lua --- 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);