Page MenuHomePhabricator

csharp: Make tests run in headless scenarios
Closed, ResolvedPublic

Description

Some tests (Model.cs and Parts.cs) try to instantiate an Efl.Ui.Win as WidgetFactory requires a widget as parent.

This is causing issues in "headless" scenarios like running the tests in CI (T8313) or through a tmux/ssh session to another computer.

lauromoura triaged this task as High priority.

We need to add code similar to the initialization of elm and efl_ui suites, like setting ELM_ENGINE=buffer if ELM_ENGINE is not set.

lauromoura closed this task as Resolved.Fri, Oct 18, 2:57 PM

Fixed with D10442.