diff options
| author | Michael Biebl <biebl@debian.org> | 2018-10-24 21:02:52 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-10-24 21:02:52 +0200 |
| commit | f87c30ac3b55627a166953aec4de552f5a8c5a53 (patch) | |
| tree | 1eb82dba7af28b0504403e2aacaeaf927d14065c /src/meson.build | |
| parent | bf9fe831a32fc90b956ee777b629adaf6df49d65 (diff) | |
| parent | 3626b425d1bc017fdc6f1ea0cfd329d1e1681641 (diff) | |
Update upstream source from tag 'upstream/1.14.4'
Update to upstream version '1.14.4' with Debian dir 3e8398be8782c0495d64cae17094a6b9e5e62907
Diffstat (limited to 'src/meson.build')
| -rw-r--r-- | src/meson.build | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/meson.build b/src/meson.build index 87c57671..28fcfa8f 100644 --- a/src/meson.build +++ b/src/meson.build @@ -214,9 +214,6 @@ if enable_tests test_cflags += ['-DREQUIRE_ROOT_TESTS=1'] endif - platform = (host_machine.system().contains('linux') ? 'linux' : 'fake') - test_cflags_platform = '-DSETUP=nm_' + platform + '_platform_setup' - libnetwork_manager_test = static_library( nm_name + 'Test', sources: sources, @@ -231,6 +228,16 @@ if enable_tests link_with: libnetwork_manager_test ) + test_nm_dep_fake = declare_dependency( + dependencies: test_nm_dep, + compile_args: ['-DSETUP=nm_fake_platform_setup'] + ) + + test_nm_dep_linux = declare_dependency( + dependencies: test_nm_dep, + compile_args: ['-DSETUP=nm_linux_platform_setup'] + ) + subdir('dnsmasq/tests') subdir('ndisc/tests') subdir('platform/tests') |