From 822161982a48e01537d7075226134b5e16a4f5a7 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 27 Nov 2009 17:39:17 +0000 Subject: tests/test.lua: Print the current test being run if verbosity sufficient --- tests/test.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/test.lua b/tests/test.lua index f5976a02..2762e42e 100644 --- a/tests/test.lua +++ b/tests/test.lua @@ -149,6 +149,9 @@ function dotest(unitname) 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); -- cgit v1.2.3