This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit bdee4a8f694d98ce1b8db3e84b605645002ee25d
Author: Cedric BAIL <[email protected]>
AuthorDate: Sun Nov 8 15:27:48 2026 -0600
tests: each spec case that packs a group item makes its own grid
The group item cases pack the widget into a grid made at suite setup,
and shared by every case because each case runs in its own process, a
copy of it. Unforked, the first window to end deleted that grid with its
content, and the next case found an Eo ID that was gone: the
efl_pack_linear-efl_ui_group_item abort. Make the grid per case when the
suite is not forked.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
src/tests/elementary/spec/efl_test_pack_linear.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/tests/elementary/spec/efl_test_pack_linear.c b/src/tests/elementary/spec/efl_test_pack_linear.c
index f4c8955d4a..3692a73643 100644
--- a/src/tests/elementary/spec/efl_test_pack_linear.c
+++ b/src/tests/elementary/spec/efl_test_pack_linear.c
@@ -473,7 +473,11 @@ object_setup(void)
{
if (widget_klass == EFL_UI_GROUP_ITEM_CLASS)
{
- Efl_Ui_Collection *collection = collection_grid;
+ // The grid made at suite setup is shared by the cases only because each
+ // runs in its own process, a copy of it. Unforked, the first window to
+ // end deletes it with its content, and the next case finds an object
+ // that is gone: each case gets its own.
+ Efl_Ui_Collection *collection = is_forked() ? collection_grid : NULL;
if (!collection) collection = efl_add(EFL_UI_GRID_CLASS, win);
efl_content_set(win, collection);
efl_pack_end(collection, widget);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.