test: fix the xkeyboard-config test
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 28 Jul 2020 22:13:14 +0000 (08:13 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 28 Jul 2020 22:33:26 +0000 (08:33 +1000)
'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>
test/xkeyboard-config-test.py.in

index 3ea4759..ed37d7e 100755 (executable)
@@ -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,