summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/ecore_wl2/ecore_wl2_test_input.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/ecore_wl2/ecore_wl2_test_input.c b/src/tests/ecore_wl2/ecore_wl2_test_input.c
index 73056a77fa..696a6c7c9f 100644
--- a/src/tests/ecore_wl2/ecore_wl2_test_input.c
+++ b/src/tests/ecore_wl2/ecore_wl2_test_input.c
@@ -102,7 +102,9 @@ EFL_START_TEST(wl2_input_keymap_get)
102 102
103 EINA_ITERATOR_FOREACH(itr, input) 103 EINA_ITERATOR_FOREACH(itr, input)
104 { 104 {
105 ck_assert(ecore_wl2_input_keymap_get(input) != NULL); 105 if (ecore_wl2_input_seat_capabilities_get(input) ==
106 ECORE_WL2_SEAT_CAPABILITIES_KEYBOARD)
107 ck_assert(ecore_wl2_input_keymap_get(input) != NULL);
106 } 108 }
107 109
108 eina_iterator_free(itr); 110 eina_iterator_free(itr);