tests: Check for missing return in builtin layouts except emoji

This commit is contained in:
Dorota Czaplejewicz
2020-09-28 19:24:37 +00:00
parent b77b3f7816
commit 8f526bd357
3 changed files with 52 additions and 8 deletions

View File

@ -69,11 +69,17 @@ foreach layout : [
'emoji',
]
extra = []
if layout == 'emoji'
extra += ['allow_missing_return']
endif
test(
'test_layout_' + layout,
cargo_script,
args: ['run'] + cargo_build_flags
+ [ '--example', 'test_layout', '--', layout],
+ ['--example', 'test_layout', '--', layout]
+ extra,
workdir: meson.build_root(),
)
endforeach