summaryrefslogtreecommitdiff
path: root/mu/tests/meson.build
blob: fff0248145c44034bac56fc90f76f95bb5cb8a9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
## Copyright (C) 2022-2025 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at your option) any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software Foundation,
## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

#
# tests
#


test('test-cmd-add',
     executable('test-cmd-add',
                '../mu-cmd-add.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-cfind',
     executable('test-cmd-cfind',
                '../mu-cmd-cfind.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-extract',
     executable('test-cmd-extract',
                '../mu-cmd-extract.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-find',
     executable('test-cmd-find',
                '../mu-cmd-find.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-index',
     executable('test-cmd-index',
                '../mu-cmd-index.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-init',
     executable('test-cmd-init',
                '../mu-cmd-init.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))
test('test-cmd-labels',
     executable('test-cmd-labels',
                '../mu-cmd-labels.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-mkdir',
     executable('test-cmd-mkdir',
                '../mu-cmd-mkdir.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-move',
     executable('test-cmd-move',
                '../mu-cmd-move.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-remove',
     executable('test-cmd-remove',
                '../mu-cmd-remove.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-verify',
     executable('test-cmd-verify',
                '../mu-cmd-verify.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-view',
     executable('test-cmd-view',
                '../mu-cmd-view.cc',
                install: false,
                build_by_default: false,
                cpp_args: ['-DBUILD_TESTS'],
                dependencies: [glib_dep, lib_mu_dep]))

test('test-cmd-query',
     executable('test-cmd-query',
                'test-mu-query.cc',
                install: false,
                build_by_default: false,
                dependencies: [glib_dep, config_h_dep, lib_mu_dep]))

gmime_test = executable(
  'gmime-test', [
  'gmime-test.c'
],
  dependencies: [ glib_dep, gmime_dep ],
  install: false)