From 0221ff480df4824fa3b2c59ecad047d6fa9c2ee8 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Mon, 11 Feb 2019 19:20:45 +0100 Subject: [PATCH] eo: the object size changes for the eo_debug profile Differential Revision: https://phab.enlightenment.org/D7909 --- src/tests/eo/suite/eo_test_general.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c index 1f8c18c3dc..b19bbc80bb 100644 --- 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