this works out to the same number of total tests as slstr_many but
now split across all the threads
fix T6846
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
EFL_END_TEST
static void
-_many_do(void)
+_many_do(Eina_Bool threaded)
{
- const int many = 2048;
+ const int many = threaded ? 256 : 2048;
Eina_Slstr *str;
int k;
EFL_START_TEST(slstr_many)
{
- _many_do();
+ _many_do(0);
eina_slstr_local_clear();
static void *
_thread_cb(void *data EINA_UNUSED, Eina_Thread th EINA_UNUSED)
{
- _many_do();
+ _many_do(1);
return NULL;
}