Debian Codegraph @

src/mbimcli/tests/meson.build

raw
1 # SPDX-License-Identifier: GPL-2.0-or-later
2 # Copyright (C) 2025 Dan Williams <[email protected]>
3
4 test_units = [
5 'quectel',
6 ]
7
8 test_env = {
9 'G_DEBUG': 'gc-friendly',
10 'MALLOC_CHECK_': '2',
11 'G_TEST_SRCDIR': meson.current_source_dir(),
12 'G_TEST_BUILDDIR': meson.current_build_dir(),
13 }
14
15 foreach test_unit: test_units
16 test_name = 'test-' + test_unit
17
18 exe = executable(
19 test_name,
20 sources: test_name + '.c',
21 include_directories: top_inc,
22 dependencies: mbimcli_helpers_dep,
23 )
24
25 test(
26 test_unit,
27 exe,
28 env: test_env,
29 )
30 endforeach