test: xkeyboard-config: add missing variant tests
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 1 Nov 2019 01:09:16 +0000 (11:09 +1000)
committerRan Benita <ran234@gmail.com>
Fri, 1 Nov 2019 08:24:03 +0000 (10:24 +0200)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/xkeyboard-config-test.py.in

index fbc4784..9241ee2 100755 (executable)
@@ -88,6 +88,9 @@ def xkbcomp(rmlvo):
         if l is not None:
             args.append('-layout')
             args.append('{}'.format(l))
+        if v is not None:
+            args.append('-variant')
+            args.append('{}'.format(v))
         if o is not None:
             args.append('-option')
             args.append('{}'.format(o))