Commit 9b9c5f209433a38c1c2719efa67064503461a722

Peter Hutterer 2020-07-29T08:13:14

test: fix the xkeyboard-config test 'xkbcli compile-keymap' doesn't work unless we ninja install first. But for a test that's to be run from the test directory, that's not a useful option so let's call the binary directly. The script adds the meson builddir to the PATH anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/test/xkeyboard-config-test.py.in b/test/xkeyboard-config-test.py.in
index 3ea4759..ed37d7e 100755
--- a/test/xkeyboard-config-test.py.in
+++ b/test/xkeyboard-config-test.py.in
@@ -41,8 +41,7 @@ def xkbcommontool(rmlvo):
         v = rmlvo.get('v', None)
         o = rmlvo.get('o', None)
         args = [
-            'xkbcli',
-            'compile-keymap',
+            'xkbcli-compile-keymap',  # this is run in the builddir
             '--rules', r,
             '--model', m,
             '--layout', l,