summaryrefslogtreecommitdiff
path: root/cts/common
diff options
context:
space:
mode:
Diffstat (limited to 'cts/common')
-rw-r--r--cts/common/cts_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cts/common/cts_common.h b/cts/common/cts_common.h
index 607adbc623..3c24b815e7 100644
--- a/cts/common/cts_common.h
+++ b/cts/common/cts_common.h
@@ -12,6 +12,8 @@
#define CPUTS(outstr) cputs(CC_SYSTEM, outstr)
#define CPRINTF(format, args...) cprintf(CC_SYSTEM, format, ## args)
#define CPRINTS(format, args...) cprints(CC_SYSTEM, format, ## args)
+#define CPRINTL(format, args...) CPRINTS("%s:%d: "format, \
+ __func__, __LINE__, ## args)
#ifdef CTS_DEBUG
/* These debug tags should not be changed */