summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Tests: improve keycode checkPierre Le Marre2023-05-091-2/+23
|
* adjust the wording of some comments in the regression-test scriptBenno Schulenberg2023-05-041-11/+11
| | | | | Fix spelling, add helpful little word, s/pressing/releasing/, drop duplicate word, and improve punctuation.
* Add regression testsPierre Le Marre2023-05-022-0/+813
| | | | | | | | | | - Create Python bindings to xkbcommon. - Create a regression test framework using pytest. - Add regression tests for issues 90, 346, 382 and 383. - Document how to write tests. - CI: Create a separate job for the libxkbcommon build that share its artifacts. - CI: Add the tests to the keymap_tests job.
* add a layout for the Gothic scriptBenno Schulenberg2023-04-271-0/+1
| | | | | | | | | | | | | | | This Gothic layout is put in a new symbols file, called 'ancient', so that there will be a place for other layouts for antique scripts. The name "ancient" is chosen because that is how Gothic is marked in https://en.wikipedia.org/wiki/List_of_ISO_639-2_codes. This fulfills issue #55. Proposed-by: Tim Nelson Original-patch-by: Tim Nelson Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
* CI: allow "Group1" to be spelt with a lowercase "g"Benno Schulenberg2023-04-061-8/+6
| | | | Also improve a comment, trim a trailing space, and update the legend.
* New layout: bqnB. Wilson2022-05-221-1/+1
| | | | | | | | | | BQN [0] is a programming language in the APL family. This commit adds a new `bqn` layout supporting input of BQN symbols. Note, the `bqn` layout is not simply an `apl` variant, since BQN utilizes and entirely different symbol set. [0]:https://mlochbaum.github.io/BQN/
* Test that each layout has at least one country and language associatedM Hickford2022-01-271-20/+71
|
* test: add a test case for ISO codesPeter Hutterer2022-01-201-2/+106
| | | | | | Some languages need to be special-cased, pycountry doesn't list them. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: fix a spelling error the test script namePeter Hutterer2021-12-291-0/+0
| | | | | | | | | While there is an ongoing battle between the americans (with their lack of 'u' and overuse of 'z') and the brits (which seem to think there's nothing wrong with a superfluous 'u' but shy away from 'z'), spelling comparison with a 'z' just seems overly enthusiastic. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* improved code qualitySergey Udaltsov2021-12-151-17/+23
|
* Better dir handlingSergey Udaltsov2021-12-151-1/+2
|
* Name testing script updatedSergey Udaltsov2021-12-151-5/+23
| | | | | | Tags are introduced to indicate special variants: 1. UNREGISTERED - the ones that should not be in base.*xml 2. HW-SPECIFIC - the ones that are default for some special keyboard model
* tests: improve one of the debug messagesPeter Hutterer2021-04-221-1/+1
| | | | | | | Just "Using ." or whatever the env is set to is not helpful, let's make this message more useful. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* models: remove duplicated teck229 and teck227 modelsPeter Hutterer2020-11-021-0/+10
| | | | | | | | And expand our tests to also check for duplicate models. Fixes #236 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* test: add a test for duplicate entries in the rules.xml filesPeter Hutterer2020-09-231-0/+91
| | | | | | | Related to https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/222 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tests: add a test to compile all xkb_symbols section with xkbcompPeter Hutterer2020-06-222-0/+78
| | | | | | | | | | Using pytest because it does a lot of the setup/tracing stuff for us. The test checks all symbols files and generates a list of tuples (layout, variant) from the files. That's then used in a generic-enough keymap to be fed to xkbcomp. Where xkbcomp fails we fail the test (and pytest will collect stdout/stderr/etc.) for us. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tests: use diff -uPeter Hutterer2020-06-021-1/+1
| | | | | | | I don't exactly know what this test does, but the unified diff will make whatever it does more readable to puny humans. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* xslt: move the reg2ll.xsl to the test dir where it is usedPeter Hutterer2020-06-022-2/+25
| | | | | It's not used anywhere other than in a test, so let's update that and move the script there.
* Removed htcdream supportSergey Udaltsov2020-01-241-1/+1
| | | | Too old to be supported
* more robust comment handlingSergey Udaltsov2018-01-161-0/+3
|
* Added a bit of explanation for diff, to make it clearSergey Udaltsov2017-10-041-0/+2
|
* Proper handling for sun_type* variants in extras, olpcm and classmate variantsSergey Udaltsov2013-08-191-2/+4
|
* Slightly improved algorighmSergey V. Udaltsov2011-04-171-2/+10
| | | | Consider olpc/htcdream models, use extras
* faster testing - no involvement of X, just xkbcompSergey V. Udaltsov2010-09-271-7/+8
|
* Fix short descriptions to match ISO3166-alpha3 codesSergey V. Udaltsov2010-03-251-0/+6
| | | | | | Most of short descriptions are fixed to be valid ISO codes. Some of them cannot be bound to ISO codes. Added test script to validate codes. Closing https://bugs.freedesktop.org/show_bug.cgi?id=27306
* Remove unused .cvsignore file #23776Gaetan Nadon2009-09-082-5/+0
| | | | | | CVS is no longer used for X.Org modules Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* made executableSergey V. Udaltsov2008-12-241-0/+0
|
* changed attributes to executableSergey V. Udaltsov2008-12-141-0/+0
|
* added cvsignoresvu2007-08-281-0/+4
|
* s/XmClientLibs/-lXmuid25702007-08-251-1/+1
|
* have own, compilable version of mxkbledpaneluid25702007-08-253-0/+613
|
* more playing with inet processingsvu2007-03-044-2/+139
|
* redefined keys and size in xkb_symbolssvu2006-10-262-6/+14
|
* rough xkb_symbols size is primtedsvu2006-10-262-1/+11
|
* Added a bit of commentssvu2006-10-221-0/+8
|
* some Ruby stuff, just my little toyssvu2006-10-223-0/+183
|
* a bit of cleanup in testssvu2006-10-095-11/+27
|
* /bin/env -> /usr/bin/envsvu2005-12-013-3/+3
|
* tiny cleanupsvu2005-08-221-0/+2
|
* a bit better implementation of genLists4Comparizon.shsvu2005-07-311-15/+11
|
* just some commentssvu2005-07-191-0/+6
|
* improved testing for the new group naming conventionsvu2005-01-151-2/+25
|
* testing the group names against layout namessvu2004-12-222-0/+19
|
* Some small fixes made. Options are now testable as well.svu2004-05-073-3/+11
|
* one more test - but still problems passing itsvu2004-05-064-10/+34
|
* Makedonian problem fixed - and BOTH tests are OKsvu2004-05-061-4/+4
|
* Yahoo! Models test pased ok!svu2004-05-063-22/+28
|
* The perl code is a bit structured nowsvu2004-05-033-133/+157
|
* at least variants pass ok with testssvu2004-05-021-0/+7
|
* trying to test layouts as wellsvu2004-04-252-5/+75
|