summaryrefslogtreecommitdiff
path: root/test/v4l2_compat/meson.build
blob: 10c4675286b37a8a865fe46575eb19301ced2677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SPDX-License-Identifier: CC0-1.0

if not is_variable('v4l2_compat')
    subdir_done()
endif

# If ASan is enabled, the link order runtime check will fail as v4l2-ctl and
# v4l2-compliance are not linked to ASan. Skip the test in that case.
#
# TODO: Find a way to LD_PRELOAD the ASan dynamic library instead, in a
# cross-platform way with support for both gcc and clang.

if get_option('b_sanitize').contains('address')
    subdir_done()
endif

v4l2_compat_test = files('v4l2_compat_test.py')

test('v4l2_compat_test', v4l2_compat_test,
     args : v4l2_compat,
     suite : 'v4l2_compat',
     timeout : 60)