devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=e5c64b13c159125d86a671e7fde36d7517d0f27b
commit e5c64b13c159125d86a671e7fde36d7517d0f27b Author: Christopher Michael <cp.mich...@samsung.com> Date: Thu Jan 9 09:48:58 2020 -0500 tests/ecore_wl2: Fix ecore_wl2_display_input_find test So apparently Enlightenment uses 'seat0' for input name and Weston uses 'default'. Test for E_START env var and adjust function call so that the test does not fail in either case. --- src/tests/ecore_wl2/ecore_wl2_test_display.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/tests/ecore_wl2/ecore_wl2_test_display.c b/src/tests/ecore_wl2/ecore_wl2_test_display.c index 2f77d2705f..dd0799c3fd 100644 --- a/src/tests/ecore_wl2/ecore_wl2_test_display.c +++ b/src/tests/ecore_wl2/ecore_wl2_test_display.c @@ -185,7 +185,12 @@ EFL_START_TEST(wl2_display_input_find_by_name) disp = _display_connect(); ck_assert(disp != NULL); - input = ecore_wl2_display_input_find_by_name(disp, "default"); + /* NB: Enlightenment uses "seat0" here, but Weston uses "default" */ + if (getenv("E_START")) + input = ecore_wl2_display_input_find_by_name(disp, "seat0"); + else + input = ecore_wl2_display_input_find_by_name(disp, "default"); + ck_assert(input != NULL); } EFL_END_TEST --