]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/ukify/test/meson.build
test_ukify: rework how --flakes argument is appended
[thirdparty/systemd.git] / src / ukify / test / meson.build
CommitLineData
a1d6dbb1
ZJS
1# SPDX-License-Identifier: LGPL-2.1-or-later
2
3if want_ukify and want_tests != 'false'
55be961f
ZJS
4 have_pytest_flakes = pymod.find_installation(
5 'python3',
6 required : false,
7 modules : ['pytest_flakes'],
8 ).found()
9
10 args = ['-v']
11 if have_pytest_flakes
12 args += ['--flakes']
13 endif
14
15 test('test-ukify',
16 files('test_ukify.py'),
17 args: args,
18 env : test_env)
a1d6dbb1 19endif