From 2237db95f612813413417cb58b24512ab5d03ee9 Mon Sep 17 00:00:00 2001 From: Eberhard Beilharz Date: Fri, 13 Feb 2026 18:25:59 +0100 Subject: [PATCH] test(core): add LDML baseline test with minimal keyboard This replaces and enables the commented `k_000_null_keyboard` test which didn't work because keys that are not on any layer don't produce output. This instead defines a minimal keyboard with just two keys and then tests typing a key that is on the keyboard followed by a key not on the keyboard. Test-bot: skip --- .../ldml/keyboards/k_000_minimal_keyboard.xml | 23 +++++++++++++++++++ .../ldml/keyboards/k_000_null_keyboard.xml | 10 -------- core/tests/unit/ldml/keyboards/meson.build | 3 +-- 3 files changed, 24 insertions(+), 12 deletions(-) create mode 100644 core/tests/unit/ldml/keyboards/k_000_minimal_keyboard.xml delete mode 100644 core/tests/unit/ldml/keyboards/k_000_null_keyboard.xml diff --git a/core/tests/unit/ldml/keyboards/k_000_minimal_keyboard.xml b/core/tests/unit/ldml/keyboards/k_000_minimal_keyboard.xml new file mode 100644 index 00000000000..44c043f8914 --- /dev/null +++ b/core/tests/unit/ldml/keyboards/k_000_minimal_keyboard.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + diff --git a/core/tests/unit/ldml/keyboards/k_000_null_keyboard.xml b/core/tests/unit/ldml/keyboards/k_000_null_keyboard.xml deleted file mode 100644 index 73dfce5dd93..00000000000 --- a/core/tests/unit/ldml/keyboards/k_000_null_keyboard.xml +++ /dev/null @@ -1,10 +0,0 @@ - - diff --git a/core/tests/unit/ldml/keyboards/meson.build b/core/tests/unit/ldml/keyboards/meson.build index 55004f78b87..29aa37541b9 100644 --- a/core/tests/unit/ldml/keyboards/meson.build +++ b/core/tests/unit/ldml/keyboards/meson.build @@ -17,8 +17,7 @@ tests_from_cldr = [ # these have 'embedded' (@@) testdata instead of a separate file tests_without_testdata = [ -# disabling 000 until we have updates to core or to the keyboard so that it passes -# 'k_000_null_keyboard', + 'k_000_minimal_keyboard', 'k_002_tinyu32', 'k_003_transform', 'k_004_tinyshift',