efl_ui_suite_spec: add a hack to have running tests again

Summary:
it seems something is leading to weird stack behavior with gcc when we
do not delete the widget here. Later deletion in _elm_win_shutdown leads
to a crash like:

 #0  0x00007f7b30dd5bd7 in _elm_win_shutdown () at ../src/lib/elementary/efl_ui_win.c:3805
 #1  0x01007f7b30cdf3a2 in ?? ()
 #2  0x00007fffa4e60570 in ?? ()
 #3  0x0000000000407b14 in _elm_suite_shutdown () at ../src/tests/elementary/suite_helpers.c:52

which is kind of weird. After a day of debugging i did not get any
further, so maybe it is better to do add a hack, so we are having at
least a running CI again

Reviewers: stefan_schmidt, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9112
This commit is contained in:
Marcel Hollerbach 2019-06-19 09:37:19 -04:00 committed by Mike Blumenkrantz
parent 227df38b5f
commit 2ef8894fcd
1 changed files with 4 additions and 0 deletions

View File

@ -154,6 +154,10 @@ EFL_START_TEST(pack_before2)
EXPECT_ERROR_START;
ck_assert_int_eq(efl_pack_before(widget, inv, wid[2]), EINA_FALSE);
//workarround for a bug, it appears that our CI is crashing in the shutdown procedure
//working arround this by deleting the widget earlier
efl_del(widget);
widget = NULL;
EXPECT_ERROR_END;
}
EFL_END_TEST