cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=93a382085b4c23f424ba1f7d53a80f1c702220c2

commit 93a382085b4c23f424ba1f7d53a80f1c702220c2
Author: Cedric Bail <[email protected]>
Date:   Sat Sep 14 10:52:37 2019 -0700

    eina: turn on Eina_Mempool tests for OneBig too.
    
    Reviewed-by: Mike Blumenkrantz <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D9940
---
 src/tests/eina/eina_test_mempool.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/tests/eina/eina_test_mempool.c 
b/src/tests/eina/eina_test_mempool.c
index 9fa9c940a5..78656cea53 100644
--- a/src/tests/eina/eina_test_mempool.c
+++ b/src/tests/eina/eina_test_mempool.c
@@ -88,6 +88,17 @@ EFL_START_TEST(eina_mempool_pass_through)
 EFL_END_TEST
 #endif
 
+#ifdef EINA_BUILD_ONE_BIG
+EFL_START_TEST(eina_mempool_one_big)
+{
+   Eina_Mempool *mp;
+
+   mp = eina_mempool_add("one_big", "test", NULL, sizeof (int), 384);
+   _eina_mempool_test(mp, EINA_FALSE, EINA_FALSE, EINA_TRUE);
+}
+EFL_END_TEST
+#endif
+
 void
 eina_test_mempool(TCase *tc)
 {
@@ -97,4 +108,7 @@ eina_test_mempool(TCase *tc)
 #ifdef EINA_BUILD_PASS_THROUGH
    tcase_add_test(tc, eina_mempool_pass_through);
 #endif
+#ifdef EINA_BUILD_ONE_BIG
+   tcase_add_test(tc, eina_mempool_one_big);
+#endif
 }

-- 


Reply via email to