diff options
author | Cedric Bail <cedric.bail@free.fr> | 2019-09-14 10:52:37 -0700 |
---|---|---|
committer | Cedric Bail <cedric.bail@free.fr> | 2019-09-17 10:24:07 -0700 |
commit | 93a382085b4c23f424ba1f7d53a80f1c702220c2 (patch) | |
tree | 0c0503fb04dc404d18fe46c61ff1b70a91d25dd8 | |
parent | 4ab4b5975750e8a1b12ba044d7261714d29a1f63 (diff) | |
download | efl-93a382085b4c23f424ba1f7d53a80f1c702220c2.tar.gz |
eina: turn on Eina_Mempool tests for OneBig too.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D9940
-rw-r--r-- | src/tests/eina/eina_test_mempool.c | 14 |
1 files changed, 14 insertions, 0 deletions
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 } |