summaryrefslogtreecommitdiff
path: root/src/ukify/test/meson.build
blob: e78e76c673cec6a44983492490f04a6d779d5ae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-License-Identifier: LGPL-2.1-or-later

if want_ukify and want_tests != 'false'
        have_pytest_flakes = pymod.find_installation(
                'python3',
                required : false,
                modules : ['pytest_flakes'],
        ).found()

        args = ['-v']
        if have_pytest_flakes
                args += ['--flakes']
        endif

        test('test-ukify',
             files('test_ukify.py'),
             args: args,
             env : test_env)
endif