forked from enlightenment/efl
eina: turn on Eina_Mempool tests for OneBig too.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9940
This commit is contained in:
parent
4ab4b59757
commit
93a382085b
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue