zmike pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a5420ac8f30ae304afe822177e509d7cb2df82aa

commit a5420ac8f30ae304afe822177e509d7cb2df82aa
Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Jul 25 13:35:41 2019 -0400

    tests/ecore: verify that quit() -> begin() does not pre-cancel main loop
    
    Summary: ref 17f433c57bfa11319a22fde1aedb21e99a3a1268
    
    Reviewers: cedric
    
    Reviewed By: cedric
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D9375
---
 src/tests/ecore/ecore_test_ecore.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/tests/ecore/ecore_test_ecore.c 
b/src/tests/ecore/ecore_test_ecore.c
index 8fe433f5a1..6439bc32d2 100644
--- a/src/tests/ecore/ecore_test_ecore.c
+++ b/src/tests/ecore/ecore_test_ecore.c
@@ -39,6 +39,8 @@ EFL_START_TEST(ecore_test_ecore_main_loop)
    timer = ecore_timer_add(0.0, _quit_cb, &did);
    fail_if(timer == NULL);
 
+   /* ensure that this does not auto-cancel main loop */
+   ecore_main_loop_quit();
    ecore_main_loop_begin();
 
    fail_if(did == EINA_FALSE);

-- 


Reply via email to