aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/tests/meson.build
blob: 83dd80d1c71229e4ec9dca7802b6689f077be4ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2021 Iñigo Martinez <inigomartinez@gmail.com>

test_units = [
  'common-helpers',
  'pco',
]

foreach test_unit: test_units
  test_name = 'test-' + test_unit

  exe = executable(
    test_name,
    test_name + '.c',
    include_directories: top_inc,
    dependencies: libmm_glib_dep,
    c_args: '-DLIBMM_GLIB_COMPILATION',
  )

  test(test_name, exe)
endforeach