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:
dba7e09
)
Eo: Fixed the tests when building in "release mode".
author
Tom Hacohen
<tom@stosb.com>
Sun, 6 May 2012 12:03:16 +0000
(12:03 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Sun, 6 May 2012 12:03:16 +0000
(12:03 +0000)
Our release mode safety checks are less strict, so we have to disable some
of the test cases when testing there.
SVN revision: 70794
legacy/eobj/tests/eo_test_general.c
patch
|
blob
|
history
diff --git
a/legacy/eobj/tests/eo_test_general.c
b/legacy/eobj/tests/eo_test_general.c
index
7b989a2
..
eae168c
100644
(file)
--- a/
legacy/eobj/tests/eo_test_general.c
+++ b/
legacy/eobj/tests/eo_test_general.c
@@
-40,7
+40,10
@@
START_TEST(eo_data_fetch)
Eo *obj = eo_add(klass, NULL);
fail_if(!obj);
+#ifndef NDEBUG
fail_if(eo_data_get(obj, SIMPLE_CLASS));
+#endif
+ eo_unref(obj);
eo_shutdown();
}