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:
ceee3af
)
eo: the object size changes for the eo_debug profile
author
Marcel Hollerbach
<mail@marcel-hollerbach.de>
Mon, 11 Feb 2019 18:20:45 +0000
(19:20 +0100)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Fri, 8 Mar 2019 11:49:33 +0000
(20:49 +0900)
Differential Revision: https://phab.enlightenment.org/D7909
src/tests/eo/suite/eo_test_general.c
patch
|
blob
|
history
diff --git
a/src/tests/eo/suite/eo_test_general.c
b/src/tests/eo/suite/eo_test_general.c
index
1f8c18c
..
b19bbc8
100644
(file)
--- a/
src/tests/eo/suite/eo_test_general.c
+++ b/
src/tests/eo/suite/eo_test_general.c
@@
-1794,7
+1794,12
@@
EFL_START_TEST(efl_object_size)
{
// This test is checking that we are not increasing the size of our object over time
// Update this number only if you modified the class size on purpose
+
+#ifdef EO_DEBUG
+ ck_assert_int_le(efl_class_memory_size_get(SIMPLE_CLASS), 164);
+#else
ck_assert_int_le(efl_class_memory_size_get(SIMPLE_CLASS), 148);
+#endif
}
EFL_END_TEST