Debian Codegraph @

tests/meson.build

raw
1 test_executable = executable(
2 'bstest',
3 'bstest.c',
4 link_with: libbstring,
5 include_directories: bstring_inc,
6 dependencies: check,
7 )
8 test_executable_aux = executable(
9 'testaux',
10 'testaux.c',
11 link_with: libbstring,
12 include_directories: bstring_inc,
13 dependencies: check,
14 )
15
16 test('bstring unit tests', test_executable)
17 test('bstring auxiliary unit tests', test_executable_aux)
18
19 if get_option('enable-utf8')
20 test_executable_utf8 = executable(
21 'testutf8',
22 'testutf8.c',
23 link_with: libbstring,
24 include_directories: bstring_inc,
25 dependencies: check,
26 )
27
28 test('bstring UTF-8 unit tests', test_executable_utf8)
29 endif