tests: Make the kiosk test dependent on the shell-kiosk option
The test is dependent on the feature and fails with it disabled. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
parent
217fb30847
commit
486d96a162
@ -180,14 +180,6 @@ tests = [
|
|||||||
input_timestamps_unstable_v1_protocol_c,
|
input_timestamps_unstable_v1_protocol_c,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'name': 'kiosk-shell',
|
|
||||||
'sources': [
|
|
||||||
'kiosk-shell-test.c',
|
|
||||||
xdg_shell_client_protocol_h,
|
|
||||||
xdg_shell_protocol_c,
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'name': 'linux-explicit-synchronization',
|
'name': 'linux-explicit-synchronization',
|
||||||
'sources': [
|
'sources': [
|
||||||
@ -427,6 +419,19 @@ if get_option('shell-ivi')
|
|||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if get_option('shell-kiosk')
|
||||||
|
tests += [
|
||||||
|
{
|
||||||
|
'name': 'kiosk-shell',
|
||||||
|
'sources': [
|
||||||
|
'kiosk-shell-test.c',
|
||||||
|
xdg_shell_client_protocol_h,
|
||||||
|
xdg_shell_protocol_c,
|
||||||
|
],
|
||||||
|
},
|
||||||
|
]
|
||||||
|
endif
|
||||||
|
|
||||||
test_config_h = configuration_data()
|
test_config_h = configuration_data()
|
||||||
test_config_h.set_quoted('WESTON_TEST_REFERENCE_PATH', meson.current_source_dir() + '/reference')
|
test_config_h.set_quoted('WESTON_TEST_REFERENCE_PATH', meson.current_source_dir() + '/reference')
|
||||||
test_config_h.set_quoted('WESTON_MODULE_MAP', env_modmap)
|
test_config_h.set_quoted('WESTON_MODULE_MAP', env_modmap)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user