summaryrefslogtreecommitdiff
path: root/src/tests/ecore_wl2/ecore_wl2_test_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/ecore_wl2/ecore_wl2_test_display.c')
-rw-r--r--src/tests/ecore_wl2/ecore_wl2_test_display.c7
1 files changed, 6 insertions, 1 deletions
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)
185 disp = _display_connect(); 185 disp = _display_connect();
186 ck_assert(disp != NULL); 186 ck_assert(disp != NULL);
187 187
188 input = ecore_wl2_display_input_find_by_name(disp, "default"); 188 /* NB: Enlightenment uses "seat0" here, but Weston uses "default" */
189 if (getenv("E_START"))
190 input = ecore_wl2_display_input_find_by_name(disp, "seat0");
191 else
192 input = ecore_wl2_display_input_find_by_name(disp, "default");
193
189 ck_assert(input != NULL); 194 ck_assert(input != NULL);
190} 195}
191EFL_END_TEST 196EFL_END_TEST