eo: the object size changes for the eo_debug profile
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Mon, 11 Feb 2019 18:20:45 +0000 (19:20 +0100)
committerWonki 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

index 1f8c18c..b19bbc8 100644 (file)
@@ -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