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>
This commit is contained in:
parent
c461265679
commit
981c3db62e
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#define ASSERT(cond, msg) do { \
|
#define ASSERT(cond, msg) do { \
|
||||||
if (!(cond)) { \
|
if (!(cond)) { \
|
||||||
printf("[BAD]\t%s", (msg)); \
|
printf("[ERROR]\t%s", (msg)); \
|
||||||
return 1; \
|
return 1; \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
Loading…
Reference in New Issue