src/qmicli/test/meson.build
raw| 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | # Copyright (C) 2019 - 2021 IƱigo Martinez <[email protected]> |
| 3 | |
| 4 | test_unit = 'test-helpers' |
| 5 | |
| 6 | exe = executable( |
| 7 | test_unit, |
| 8 | sources: test_unit + '.c', |
| 9 | include_directories: top_inc, |
| 10 | dependencies: libhelpers_dep, |
| 11 | ) |
| 12 | |
| 13 | test_env += { |
| 14 | 'G_TEST_BUILDDIR': meson.current_build_dir(), |
| 15 | 'G_TEST_SRCDIR': meson.current_source_dir(), |
| 16 | } |
| 17 | |
| 18 | test( |
| 19 | test_unit, |
| 20 | exe, |
| 21 | env: test_env, |
| 22 | ) |