summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2019-09-14 10:52:37 -0700
committerCedric Bail <cedric.bail@free.fr>2019-09-17 10:24:07 -0700
commit93a382085b4c23f424ba1f7d53a80f1c702220c2 (patch)
tree0c0503fb04dc404d18fe46c61ff1b70a91d25dd8 /src/tests
parent4ab4b5975750e8a1b12ba044d7261714d29a1f63 (diff)
eina: turn on Eina_Mempool tests for OneBig too.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D9940
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eina/eina_test_mempool.c14
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)
88EFL_END_TEST 88EFL_END_TEST
89#endif 89#endif
90 90
91#ifdef EINA_BUILD_ONE_BIG
92EFL_START_TEST(eina_mempool_one_big)
93{
94 Eina_Mempool *mp;
95
96 mp = eina_mempool_add("one_big", "test", NULL, sizeof (int), 384);
97 _eina_mempool_test(mp, EINA_FALSE, EINA_FALSE, EINA_TRUE);
98}
99EFL_END_TEST
100#endif
101
91void 102void
92eina_test_mempool(TCase *tc) 103eina_test_mempool(TCase *tc)
93{ 104{
@@ -97,4 +108,7 @@ eina_test_mempool(TCase *tc)
97#ifdef EINA_BUILD_PASS_THROUGH 108#ifdef EINA_BUILD_PASS_THROUGH
98 tcase_add_test(tc, eina_mempool_pass_through); 109 tcase_add_test(tc, eina_mempool_pass_through);
99#endif 110#endif
111#ifdef EINA_BUILD_ONE_BIG
112 tcase_add_test(tc, eina_mempool_one_big);
113#endif
100} 114}