summaryrefslogtreecommitdiff
path: root/src/tests/ecore
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-04-09 13:37:12 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2018-04-10 11:28:01 +0200
commit5bbe49ab99aa30c694b4fae8a38399d41882b094 (patch)
tree678494bd0a8aa3a055395d6451420fc1d2e66927 /src/tests/ecore
parent99f3f89f241082a00cdd1bc7b7d9b908e6de549e (diff)
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
Diffstat (limited to 'src/tests/ecore')
-rw-r--r--src/tests/ecore/ecore_suite.c1
-rw-r--r--src/tests/ecore/ecore_suite.h1
-rw-r--r--src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c4
3 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/ecore/ecore_suite.c b/src/tests/ecore/ecore_suite.c
index 21fb572817..4db69812ed 100644
--- a/src/tests/ecore/ecore_suite.c
+++ b/src/tests/ecore/ecore_suite.c
@@ -21,6 +21,7 @@ static const Efl_Test_Case etc[] = {
21 { "Ecore_Evas", ecore_test_ecore_evas }, 21 { "Ecore_Evas", ecore_test_ecore_evas },
22 { "Ecore_Animators", ecore_test_animator }, 22 { "Ecore_Animators", ecore_test_animator },
23 { "Eina_Thread_Queue", ecore_test_ecore_thread_eina_thread_queue }, 23 { "Eina_Thread_Queue", ecore_test_ecore_thread_eina_thread_queue },
24 { "Eina_Thread_Queue", ecore_test_ecore_thread_eina_thread_queue2 },
24#if HAVE_ECORE_DRM 25#if HAVE_ECORE_DRM
25 { "Ecore_Drm", ecore_test_ecore_drm }, 26 { "Ecore_Drm", ecore_test_ecore_drm },
26#endif 27#endif
diff --git a/src/tests/ecore/ecore_suite.h b/src/tests/ecore/ecore_suite.h
index 56b7dc36e9..5cd57de8e3 100644
--- a/src/tests/ecore/ecore_suite.h
+++ b/src/tests/ecore/ecore_suite.h
@@ -13,6 +13,7 @@ void ecore_test_timer(TCase *tc);
13void ecore_test_ecore_evas(TCase *tc); 13void ecore_test_ecore_evas(TCase *tc);
14void ecore_test_animator(TCase *tc); 14void ecore_test_animator(TCase *tc);
15void ecore_test_ecore_thread_eina_thread_queue(TCase *tc); 15void ecore_test_ecore_thread_eina_thread_queue(TCase *tc);
16void ecore_test_ecore_thread_eina_thread_queue2(TCase *tc);
16void ecore_test_ecore_drm(TCase *tc); 17void ecore_test_ecore_drm(TCase *tc);
17void ecore_test_ecore_fb(TCase *tc); 18void ecore_test_ecore_fb(TCase *tc);
18void ecore_test_ecore_input(TCase *tc); 19void ecore_test_ecore_input(TCase *tc);
diff --git a/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c b/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c
index 28f3010044..d9b7501f8b 100644
--- a/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c
+++ b/src/tests/ecore/ecore_test_ecore_thread_eina_thread_queue.c
@@ -680,6 +680,10 @@ void ecore_test_ecore_thread_eina_thread_queue(TCase *tc EINA_UNUSED)
680 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t1); 680 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t1);
681 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t2); 681 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t2);
682 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t3); 682 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t3);
683}
684
685void ecore_test_ecore_thread_eina_thread_queue2(TCase *tc EINA_UNUSED)
686{
683 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t4); 687 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t4);
684 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t5); 688 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t5);
685 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t6); 689 tcase_add_test(tc, ecore_test_ecore_thread_eina_thread_queue_t6);