File: meson.build

package info (click to toggle)
bind9 1%3A9.21.10-4
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 38,728 kB
  • sloc: ansic: 295,373; sh: 49,299; python: 16,409; perl: 4,131; makefile: 83
file content (53 lines) | stat: -rw-r--r-- 1,153 bytes parent folder | download
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
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# SPDX-License-Identifier: MPL-2.0
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0.  If a copy of the MPL was not distributed with this
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.

ns_test = [
    'notify',
    'plugin',
#    'query',
]

flaky_ns_test = [
    'query',
]

foreach unit : ns_test
    test_bin = executable(
        unit,
        files(f'@unit@_test.c', 'netmgr_wrap.c'),
        build_by_default: false,
        export_dynamic: true,
        install: false,
        dependencies: [
            libisc_dep,
            libdns_dep,
            libns_dep,
            libtest_dep,

            openssl_dep,

            cmocka_dep,
            nghttp2_dep,
        ],
    )

    suites = ['ns']
    if unit in flaky_ns_test
        suites += 'flaky'
    endif
    test(
        unit,
        test_bin,
        suite: suites,
        timeout: 300,
        workdir: meson.current_source_dir(),
    )
endforeach