summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-19 09:37:19 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-06-19 09:37:19 -0400
commit2ef8894fcd415cdc24d7bc222a9f8425fb8f9f34 (patch)
treee4733dd3530cb24b23987bdb2f1f5888f515fcfe
parent227df38b5f8d7b0af3a5e7a2e706aac1ff6ef036 (diff)
downloadefl-2ef8894fcd415cdc24d7bc222a9f8425fb8f9f34.tar.gz
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
-rw-r--r--src/tests/elementary/spec/efl_test_pack_linear.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/elementary/spec/efl_test_pack_linear.c b/src/tests/elementary/spec/efl_test_pack_linear.c
index ede81ae5d4..ec1f381505 100644
--- a/src/tests/elementary/spec/efl_test_pack_linear.c
+++ b/src/tests/elementary/spec/efl_test_pack_linear.c
@@ -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