tests: split ecore thread queue tests into 2 test cases

Summary:
enable running these tests in parallel

ref T6851
Depends on D5905

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6851

Differential Revision: https://phab.enlightenment.org/D5906
This commit is contained in:
Mike Blumenkrantz 2018-04-09 13:37:12 +02:00 committed by Stefan Schmidt
parent 99f3f89f24
commit 5bbe49ab99
3 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,7 @@ static const Efl_Test_Case etc[] = {
{ "Ecore_Evas", ecore_test_ecore_evas },
{ "Ecore_Animators", ecore_test_animator },
{ "Eina_Thread_Queue", ecore_test_ecore_thread_eina_thread_queue },
{ "Eina_Thread_Queue", ecore_test_ecore_thread_eina_thread_queue2 },
#if HAVE_ECORE_DRM
{ "Ecore_Drm", ecore_test_ecore_drm },
#endif

View File

@ -13,6 +13,7 @@ void ecore_test_timer(TCase *tc);
void ecore_test_ecore_evas(TCase *tc);
void ecore_test_animator(TCase *tc);
void ecore_test_ecore_thread_eina_thread_queue(TCase *tc);
void ecore_test_ecore_thread_eina_thread_queue2(TCase *tc);
void ecore_test_ecore_drm(TCase *tc);
void ecore_test_ecore_fb(TCase *tc);
void ecore_test_ecore_input(TCase *tc);

View File

@ -680,6 +680,10 @@ void ecore_test_ecore_thread_eina_thread_queue(TCase *tc EINA_UNUSED)
tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t1);
tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t2);
tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t3);
}
void ecore_test_ecore_thread_eina_thread_queue2(TCase *tc EINA_UNUSED)
{
tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t4);
tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t5);
tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t6);