summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2014-06-14 11:14:58 -0300
committerLucas De Marchi <lucas.demarchi@intel.com>2014-06-14 11:14:58 -0300
commita5a41f8dbb6cd37903bda2693e0f119f7e67f268 (patch)
treeaa6772271ab6e7519709acad4ff636731b5ef06d /testsuite
parent5963c36da3a80106a1157ab22958f8b8e405c883 (diff)
downloadkmod-a5a41f8dbb6cd37903bda2693e0f119f7e67f268.tar.gz
kmod-a5a41f8dbb6cd37903bda2693e0f119f7e67f268.tar.bz2
kmod-a5a41f8dbb6cd37903bda2693e0f119f7e67f268.zip
testsuite: Fix macro missing format string
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/testsuite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/testsuite.h b/testsuite/testsuite.h
index 47b72fd..c90a1d5 100644
--- a/testsuite/testsuite.h
+++ b/testsuite/testsuite.h
@@ -122,7 +122,7 @@ int test_run(const struct test *t);
#define assert_return(expr, r) \
do { \
if ((!(expr))) { \
- ERR("Failed assertion: " #expr, \
+ ERR("Failed assertion: " #expr "%s:%d %s", \
__FILE__, __LINE__, __PRETTY_FUNCTION__); \
return (r); \
} \