Merge branch 'orphans' into 'master'

tests: Check for orphaned layout files

See merge request World/Phosh/squeekboard!574
This commit is contained in:
dcz
2022-09-29 16:25:47 +00:00
6 changed files with 74 additions and 2 deletions

View File

@ -127,3 +127,14 @@ foreach layout : [
endforeach
endif
if get_option('find_orphans')
test('test_find_orphans',
cargo_script,
args: ['run'] + cargo_build_flags
+ ['--example', 'find_orphan_layouts',
'--', meson.source_root() + '/data/keyboards/'],
timeout: timeout,
workdir: meson.build_root(),
)
endif