summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/stktest.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/stktest.c b/tools/stktest.c
index 3f031c66..9d883623 100644
--- a/tools/stktest.c
+++ b/tools/stktest.c
@@ -281,7 +281,9 @@ static DBusMessage *func(DBusConnection *conn, DBusMessage *msg, \
func = test->agent_func; \
\
if (strcmp(test->method, method_name)) { \
- g_printerr("Wrong method called!\n"); \
+ g_printerr("Wrong method called!" \
+ " Expected: %s, Got: %s\n", \
+ test->method, method_name); \
__stktest_test_finish(FALSE); \
return stktest_error_failed(msg); \
} \
@@ -334,7 +336,9 @@ static DBusMessage *func(DBusConnection *conn, DBusMessage *msg, \
func = test->agent_func; \
\
if (strcmp(test->method, method_name)) { \
- g_printerr("Wrong method called!\n"); \
+ g_printerr("Wrong method called!" \
+ " Expected: %s, Got: %s\n", \
+ test->method, method_name); \
__stktest_test_finish(FALSE); \
return stktest_error_failed(msg); \
} \