tests: Verify all bundled layouts
This commit is contained in:
@ -19,11 +19,10 @@ test_link_args = [
|
||||
'-fPIC',
|
||||
]
|
||||
|
||||
tests = [
|
||||
'test-keymap-generation'
|
||||
c_tests = [
|
||||
]
|
||||
|
||||
foreach name : tests
|
||||
foreach name : c_tests
|
||||
|
||||
test_sources = [name + '.c']
|
||||
|
||||
@ -45,4 +44,15 @@ foreach name : tests
|
||||
|
||||
endforeach
|
||||
|
||||
# The layout test is in the examples directory
|
||||
# due to the way Cargo builds executables
|
||||
# and the need to call it manually
|
||||
foreach layout : ['us', 'nb']
|
||||
test(
|
||||
'test_layout_' + layout,
|
||||
cargo_script,
|
||||
args: [meson.source_root(), '', 'run', '--example', 'test_layout', layout]
|
||||
)
|
||||
endforeach
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user