projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63eeace
)
efl: eina_magic_fail now trigger an ERR on NULL instead of CRITICAL.
author
Cedric BAIL
<cedric.bail@free.fr>
Tue, 8 Jan 2013 09:04:29 +0000
(09:04 +0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Tue, 8 Jan 2013 09:04:29 +0000
(09:04 +0000)
Updating the test suite.
SVN revision: 82391
src/tests/eina/eina_test_magic.c
patch
|
blob
|
history
diff --git
a/src/tests/eina/eina_test_magic.c
b/src/tests/eina/eina_test_magic.c
index
b41ed5d
..
9d68e7b
100644
(file)
--- a/
src/tests/eina/eina_test_magic.c
+++ b/
src/tests/eina/eina_test_magic.c
@@
-80,7
+80,7
@@
_eina_test_magic_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const
{
struct log_ctx *ctx = data;
- ck_assert_int_eq(level, EINA_LOG_LEVEL_
CRITICAL);
+ ck_assert_int_eq(level, EINA_LOG_LEVEL_
ERR); /* Level ERR is triggered for access to NULL instead of level CRITICAL */
ck_assert_str_eq(ctx->msg, fmt);
ck_assert_str_eq(ctx->fnc, fnc);
ctx->did = EINA_TRUE;