aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.com>2016-12-13 08:48:49 -0500
committerShuah Khan <shuahkh@osg.samsung.com>2016-12-13 09:24:34 -0500
commit981c3db62e2d2dfb0c5725dd55d8c3cf8ed4edd8 (patch)
treefb7d9a69e45176549e8b8425613d2e7f377cd70a /tools
parentc461265679ce934c26339897bba2ff5c2120262f (diff)
selftest: sync: improve assert() failure message
Print "ERROR" on all messages instead of using the not well defined terms like "BAD". Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/sync/synctest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/sync/synctest.h b/tools/testing/selftests/sync/synctest.h
index 4e0e59f6fcf3..e7d1d57dba7a 100644
--- a/tools/testing/selftests/sync/synctest.h
+++ b/tools/testing/selftests/sync/synctest.h
@@ -32,7 +32,7 @@
32 32
33#define ASSERT(cond, msg) do { \ 33#define ASSERT(cond, msg) do { \
34 if (!(cond)) { \ 34 if (!(cond)) { \
35 printf("[BAD]\t%s", (msg)); \ 35 printf("[ERROR]\t%s", (msg)); \
36 return 1; \ 36 return 1; \
37 } \ 37 } \
38} while (0) 38} while (0)