Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Commit

Permalink
efl_ui_suite_spec: add a hack to have running tests again
Browse files Browse the repository at this point in the history
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
  • Loading branch information
marcelhollerbach authored and Mike Blumenkrantz committed Jun 19, 2019
1 parent 227df38 commit 2ef8894
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tests/elementary/spec/efl_test_pack_linear.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ef8894

Please sign in to comment.