[1/3] cmd/tests: Show name of current test file on standard output
Frédéric Delanoy
frederic.delanoy at gmail.com
Wed Oct 10 20:08:00 CDT 2012
When there are several test files, indicates which file error line numbers relate to, making
"debugging" easier.
---
programs/cmd/tests/batch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/cmd/tests/batch.c b/programs/cmd/tests/batch.c
index 6cf740b..4d57b8c 100644
--- a/programs/cmd/tests/batch.c
+++ b/programs/cmd/tests/batch.c
@@ -414,7 +414,7 @@ static BOOL WINAPI test_enum_proc(HMODULE module, LPCTSTR type, LPSTR name, LONG
DWORD cmd_size, out_size;
char res_name[100];
- trace("running %s test...\n", name);
+ fprintf(stdout, "Running %s tests...\n", name);
cmd_size = load_resource(name, type, &cmd_data);
if(!cmd_size)
--
1.7.11.3
More information about the wine-patches
mailing list