summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-06-04 18:15:42 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-06-11 11:24:06 -0400
commitcabffaf86c17cdf74f92b8ef168fb9668f699c14 (patch)
tree9eabd4df8617e89b12436f03c655a2565c657e26 /src/test
parent03a44125b8af43df6ef8f4af63a8e48607de1a0d (diff)
test-keymap-util: use kbd-model-map/language-fallback-map from $(srcdir)
This adds (undocumented) environment variables SYSTEMD_KBD_MODEL_MAP and SYSTEMD_LANGUAGE_FALLBACK_MAP, which, if set, override compiled-in locations of those two files. Instead of skipping tests when the maps are not installed, just use the one from the source dir. We still cannot do the mappings the other way if /usr/lib/kbd/keymaps is not present, so truncate the tests in that case. Also tweak the debug messages a bit to make it easier to see which function is failing.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions