summaryrefslogtreecommitdiff
path: root/tests/lib/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/debug.h')
-rw-r--r--tests/lib/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/debug.h b/tests/lib/debug.h
new file mode 100644
index 0000000..60e070b
--- /dev/null
+++ b/tests/lib/debug.h
@@ -0,0 +1,3 @@
+#undef DEBUG
+#define DEBUG(format, ...) \
+ g_debug ("%s: " format, G_STRFUNC, ##__VA_ARGS__)