Edit

kc3-lang/libxkbcommon/test/rulescomp.sh

Branch :

  • Show log

    Commit

  • Author : Dan Nicholson
    Date : 2009-04-04 09:14:20
    Hash : 5cc55d7c
    Message : Test compiler to simulate xkbcomp usage Added a test program, rulescomp, which takes a RMLVO set and generates a XkbcDescPtr. This is essentially what the xserver will do, except that we still need to access some xkbcomp internal API to make it work.

  • test/rulescomp.sh
  • #!/bin/sh
    
    srcdir=${srcdir-.}
    builddir=${builddir-.}
    
    compile()
    {
        ${builddir}/rulescomp "$1" "$2" "$3" "$4" "$5" || exit $?
    }
    
    compile base pc105 us "" ""
    compile evdev pc105 us intl ""
    compile evdev pc105 us intl grp:alts_toggle