tests/ecore: verify that quit() -> begin() does not pre-cancel main loop

Summary: ref 17f433c57b

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9375
This commit is contained in:
Mike Blumenkrantz 2019-07-25 13:35:41 -04:00
parent 5a3d659006
commit a5420ac8f3
1 changed files with 2 additions and 0 deletions

View File

@ -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);